mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Add comment explaining dispose logic
This commit is contained in:
parent
5b094f8e1d
commit
d6cdde552d
@ -41,6 +41,7 @@ namespace osu.Game.Rulesets
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
// ensures any potential database operations are finalised before game destruction.
|
||||
foreach (var c in configCache.Values)
|
||||
(c as IDisposable)?.Dispose();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user