mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 10:33:07 +08:00
Fix ObjectDisposal exceptions due to lingering event binds
This commit is contained in:
parent
9a4cff8813
commit
543a71efcc
@ -353,6 +353,8 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
manager.BeatmapSetAdded -= onBeatmapSetAdded;
|
||||
manager.BeatmapSetRemoved -= onBeatmapSetRemoved;
|
||||
manager.BeatmapHidden -= onBeatmapHidden;
|
||||
manager.BeatmapRestored -= onBeatmapRestored;
|
||||
}
|
||||
|
||||
initialAddSetsTask?.Cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user