mirror of https://github.com/ppy/osu
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 @@ public IDisposable BlockAllOperations(string reason)
|
|||
|
||||
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