Skip to content

Commit

Permalink
Set handles to null on OVR Shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminZehowlt authored and Natsumi-sama committed Oct 28, 2024
1 parent ef5dc90 commit 0932d09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dotnet/Overlay/VRCXVR.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ private void ThreadLoop()
OpenVR.Shutdown();
nextInit = DateTime.UtcNow.AddSeconds(10);
system = null;

_wristOverlayHandle = 0;
_hmdOverlayHandle = 0;
break;
}
}
Expand Down

0 comments on commit 0932d09

Please sign in to comment.