1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 18:44:06 +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:
Dean Herbert
2017-09-19 20:04:13 +09:00
Unverified
parent 99b512cce5
commit 390c212dcb
+1 -1
View File
@@ -231,7 +231,7 @@ namespace osu.Game
LocalConfig.Save();
}
connection.Dispose();
connection?.Dispose();
base.Dispose(isDisposing);
}