Skip to content

Commit 86b0982

Browse files
committed
Move shutdown into wait function
1 parent 1c52352 commit 86b0982

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

OpenVRStartup/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ private static void Worker()
7272
{
7373
RunScripts(PATH_STARTFOLDER);
7474
if(WeHaveScripts(PATH_STOPFOLDER)) WaitForQuit();
75-
OpenVR.System.AcknowledgeQuit_Exiting();
7675
OpenVR.Shutdown();
7776
RunScripts(PATH_STOPFOLDER);
7877
shouldRun = false;
@@ -166,6 +165,7 @@ private static void WaitForQuit()
166165
{
167166
if ((EVREventType)e.eventType == EVREventType.VREvent_Quit)
168167
{
168+
OpenVR.System.AcknowledgeQuit_Exiting();
169169
shouldRun = false;
170170
}
171171
}

OpenVRStartup/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OpenVRStartup/Properties/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,6 @@
118118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120120
<data name="Version" xml:space="preserve">
121-
<value>v0.9</value>
121+
<value>v0.10</value>
122122
</data>
123123
</root>

0 commit comments

Comments
 (0)