mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 05:59:53 +08:00
Add null check for safety
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
c281e43cd8
commit
7dd566dc46
@@ -370,7 +370,7 @@ namespace osu.Game
|
||||
switch (state.NewValue)
|
||||
{
|
||||
case GameThreadState.Running:
|
||||
blocking.Dispose();
|
||||
blocking?.Dispose();
|
||||
blocking = null;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user