Add connection flushing support

This commit is contained in:
Dean Herbert
2020-05-11 21:37:07 +09:00
parent 36640f5dda
commit 6c350db097
3 changed files with 22 additions and 8 deletions

View File

@ -160,5 +160,13 @@ namespace osu.Game.Database
}
}
}
public void FlushConnections()
{
foreach (var context in threadContexts.Values)
context.Dispose();
recycleThreadContexts();
}
}
}