Potential fix for race condition on shutdown #11
WeaselKing
started this conversation in
Ideas
Replies: 1 comment
-
Oh dear god. Yeah I wouldn't put it past there being some sort of weirdness there, I've run into so much odd shit via buttplug-unity. I'll see about trying to get this integrated soon. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was having a race condition on shutdown with the server process. This was making an exception happen on shutdown when it tried to kill the server process which had already exited, but it only happened about half the time I closed the program.
I stopped getting the exception by changing StopServer in ButtplugUnityHelper.cs to:
I assume it has something to do with Unity shenanigans, but making that IF statement
Causes an exception "Win32Exception: Operation has completed successfully" which is super strange from my perception.
Beta Was this translation helpful? Give feedback.
All reactions