mirror of
https://github.com/ppy/osu.git
synced 2026-06-06 22:04:24 +08:00
Don't die on a null connection during disposal
May be caused by a startup error. This shouldn't result in an additional exception here.
This commit is contained in:
@@ -231,7 +231,7 @@ namespace osu.Game
|
||||
LocalConfig.Save();
|
||||
}
|
||||
|
||||
connection.Dispose();
|
||||
connection?.Dispose();
|
||||
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user