mirror of
https://github.com/ppy/osu.git
synced 2025-01-16 00:52:55 +08:00
Avoid null reference on finalization
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
d5e0fa322b
commit
0a7f3dc19b
@ -236,7 +236,7 @@ namespace osu.Game.Screens.Play
|
|||||||
spectatorStreaming.StopWatchingUser((int)targetUser.Id);
|
spectatorStreaming.StopWatchingUser((int)targetUser.Id);
|
||||||
}
|
}
|
||||||
|
|
||||||
managerUpdated.UnbindAll();
|
managerUpdated?.UnbindAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user