1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 18:13:00 +08:00

Avoid null reference on finalization

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
Dean Herbert 2020-10-28 07:29:07 +09:00 committed by GitHub
parent d5e0fa322b
commit 0a7f3dc19b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,7 +236,7 @@ namespace osu.Game.Screens.Play
spectatorStreaming.StopWatchingUser((int)targetUser.Id);
}
managerUpdated.UnbindAll();
managerUpdated?.UnbindAll();
}
}
}