mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 14:12:54 +08:00
Merge pull request #1209 from peppy/song-select-context-menus
Fix ObjectDisposal exceptions due to lingering event binds
This commit is contained in:
commit
8a96c8cd87
@ -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