1
0
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:
Dean Herbert
2021-06-28 15:08:49 +09:00
committed by GitHub
Unverified
parent c281e43cd8
commit 7dd566dc46
+1 -1
View File
@@ -370,7 +370,7 @@ namespace osu.Game
switch (state.NewValue)
{
case GameThreadState.Running:
blocking.Dispose();
blocking?.Dispose();
blocking = null;
break;