mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 11:12: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;
|
return props;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override destroy(): void {
|
||||||
|
this.pokemonContainers = [];
|
||||||
|
}
|
||||||
|
|
||||||
clearText() {
|
clearText() {
|
||||||
this.starterSelectMessageBoxContainer.setVisible(false);
|
this.starterSelectMessageBoxContainer.setVisible(false);
|
||||||
super.clearText();
|
super.clearText();
|
||||||
|
Loading…
Reference in New Issue
Block a user