mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-16 12:29:26 +02:00
Document destroy for starter select
This commit is contained in:
parent
8b04eb97d6
commit
24386530c5
@ -2699,6 +2699,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
};
|
};
|
||||||
|
|
||||||
override destroy(): void {
|
override destroy(): void {
|
||||||
|
// Without this the reference gets hung up and no startercontainers get GCd
|
||||||
this.starterContainers = [];
|
this.starterContainers = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user