mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-05-20 15:48:00 +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.