mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Add extra null safety in dispose call
This commit is contained in:
@ -499,7 +499,7 @@ namespace osu.Game
|
||||
|
||||
contextFactory.FlushConnections();
|
||||
|
||||
if (Host != null)
|
||||
if (Host?.UpdateThread != null)
|
||||
Host.UpdateThread.ThreadPausing -= onUpdateThreadPausing;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user