mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
Add null check for safety
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
c281e43cd8
commit
7dd566dc46
@ -370,7 +370,7 @@ namespace osu.Game
|
||||
switch (state.NewValue)
|
||||
{
|
||||
case GameThreadState.Running:
|
||||
blocking.Dispose();
|
||||
blocking?.Dispose();
|
||||
blocking = null;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user