mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-11 03:58:57 +01:00
![PixelyIon](/assets/img/avatar_default.png)
A deadlock was caused by holding `trapMutex` while waiting on the lock of a resource inside a callback while another thread holding the resource's mutex waits on `trapMutex`. This has been fixed by no longer allowing blocking locks inside the callbacks and introducing a separate callback for locking the resource which is done after unlocking the `trapMutex` which can then be locked by any contending threads.