mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08: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)
|
switch (state.NewValue)
|
||||||
{
|
{
|
||||||
case GameThreadState.Running:
|
case GameThreadState.Running:
|
||||||
blocking.Dispose();
|
blocking?.Dispose();
|
||||||
blocking = null;
|
blocking = null;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user