mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add connection flushing support
This commit is contained in:
@ -160,5 +160,13 @@ namespace osu.Game.Database
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void FlushConnections()
|
||||
{
|
||||
foreach (var context in threadContexts.Values)
|
||||
context.Dispose();
|
||||
|
||||
recycleThreadContexts();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user