mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +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:
parent
99b512cce5
commit
390c212dcb
@ -231,7 +231,7 @@ namespace osu.Game
|
||||
LocalConfig.Save();
|
||||
}
|
||||
|
||||
connection.Dispose();
|
||||
connection?.Dispose();
|
||||
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user