mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 20:07:25 +08:00
cd31cff8cd
The handling of cleanup is performed only the `Item_Set` method. This was already correctly called for `DrawableCarouselBeatmapSet`, but not for the class in question here. This would cause runaway memory usage at song select when opening many beatmaps to show their difficulties. For simplicity, we don't yet pool these (and generate the drawables each time a set is opened) which isn't great but likely will be improved upon when we update the visual / filtering of the carousel. But this simplicity caused the memory usage to blow out until exiting back to the main menu when cleanup would finally occur. |
||
---|---|---|
.. | ||
CarouselBeatmap.cs | ||
CarouselBeatmapSet.cs | ||
CarouselGroup.cs | ||
CarouselGroupEagerSelect.cs | ||
CarouselHeader.cs | ||
CarouselItem.cs | ||
DrawableCarouselBeatmap.cs | ||
DrawableCarouselBeatmapSet.cs | ||
DrawableCarouselItem.cs | ||
FilterableDifficultyIcon.cs | ||
GroupedDifficultyIcon.cs | ||
SetPanelBackground.cs | ||
SetPanelContent.cs | ||
TopLocalRank.cs | ||
UpdateBeatmapSetButton.cs | ||
UpdateLocalConfirmationDialog.cs |