mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-03-03 09:05:21 +03:00
A thread can be paused while it is in a synchronization primitive which will do `RemoveThread`, we need to update the state of `insertThreadOnResume` in this case by clearing it so it isn't incorrectly reinserted on resuming the thread.