fix: release children refs on spawner destroy
This commit is contained in:
parent
c1a90b941b
commit
643f2bbf62
|
@ -28,6 +28,10 @@ export class Spawner extends decorate(Trait) {
|
|||
};
|
||||
}
|
||||
|
||||
destroy() {
|
||||
this.children = [];
|
||||
}
|
||||
|
||||
initialize() {
|
||||
this.children = [];
|
||||
this.spawnJSONs = this.params.get('spawns').toJS();
|
||||
|
|
Loading…
Reference in New Issue
Block a user