200Tigersbloxed / UnityMods

A collection of my mods for games that run on the Unity Engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[HRtoVRChat] Fix Thread Hanging OnApplicationQuit

200Tigersbloxed opened this issue · comments

When the application and the Thread is restarted, the Preferences will save, which causes the HRListener to Restart, causing the start of a new Task on the Main Thread (Task.Factory.StartNew), which in turn causes the game to hang and not close. The simple workaround is just to CTRL + C on a keyboard, but that won't cut it.