mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 17:33:22 +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();
|
LocalConfig.Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
connection.Dispose();
|
connection?.Dispose();
|
||||||
|
|
||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user