mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-01-11 03:21:56 -08:00
c05c688ee8
* Avoid copying more handles than we have space for * Use locks instead * Reduce nesting by combining the lock statements * Add locks for other uses of _sessionHandles and _portHandles * Use one object to lock instead of locking twice * Release the lock as soon as possible