1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 14:52:55 +08:00

Null-check in disposal of DatabasedKeyBindingInputManager

This commit is contained in:
smoogipoo 2017-11-13 13:58:44 +09:00
parent 9056f2d978
commit 8adf0a6db3

View File

@ -51,6 +51,8 @@ namespace osu.Game.Input.Bindings
protected override void Dispose(bool isDisposing) protected override void Dispose(bool isDisposing)
{ {
base.Dispose(isDisposing); base.Dispose(isDisposing);
if (store != null)
store.KeyBindingChanged -= ReloadMappings; store.KeyBindingChanged -= ReloadMappings;
} }