mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 03:02:24 +02:00
resetting containers to prevent memory leaks
This commit is contained in:
parent
3ca60f2a6a
commit
cbdd031896
@ -1882,6 +1882,10 @@ export default class PokedexUiHandler extends MessageUiHandler {
|
||||
return props;
|
||||
}
|
||||
|
||||
override destroy(): void {
|
||||
this.pokemonContainers = [];
|
||||
}
|
||||
|
||||
clearText() {
|
||||
this.starterSelectMessageBoxContainer.setVisible(false);
|
||||
super.clearText();
|
||||
|
Loading…
Reference in New Issue
Block a user