mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Add note regarding why the realmRetrievalLock
return is done on the async thread
This commit is contained in:
@ -920,6 +920,8 @@ namespace osu.Game.Database
|
||||
|
||||
void restoreOperation()
|
||||
{
|
||||
// Release of lock needs to happen here rather than on the update thread, as there may be another
|
||||
// operation already blocking the update thread waiting for the blocking operation to complete.
|
||||
Logger.Log(@"Restoring realm operations.", LoggingTarget.Database);
|
||||
realmRetrievalLock.Release();
|
||||
|
||||
|
Reference in New Issue
Block a user