# Groups in dynamically created scenes

**URL:** <https://phaser.discourse.group/t/groups-in-dynamically-created-scenes/468>\
**Category:** Phaser 3\
**Created:** [December 25, 2018, 9:44pm UTC](https://phaser.discourse.group/t/groups-in-dynamically-created-scenes/468 "2018-12-25T21:44:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![snowbillr](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/snowbillr/32/332_2.png) [@snowbillr](https://phaser.discourse.group/u/snowbillr)\
**Post date:** [December 27, 2018, 2:57pm UTC](https://phaser.discourse.group/t/groups-in-dynamically-created-scenes/468/3 "2018-12-27T14:57:39Z")

</div>

FWIW I ran into something similar with registry listeners not being cleaned up as well ([Help with error after `launch`ing a scene that has been `stop`ped](https://phaser.discourse.group/t/help-with-error-after-launch-ing-a-scene-that-has-been-stop-ped/473/3)).

I ended up listening to the `shutdown` event in the scene that added the listeners, and removed them in my `shutdown` event handler.

---

_[View the full topic](https://phaser.discourse.group/t/groups-in-dynamically-created-scenes/468)._
