mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Add note regarding why the realmRetrievalLock
return is done on the async thread
This commit is contained in:
parent
5adec2c738
commit
33db508301
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user