SanderMertens / flecs

A fast entity component system (ECS) for C & C++
https://www.flecs.dev
MIT License
5.64k stars 411 forks source link

Add EcsModule to component-parents #1165

Closed garrett-is-a-swann closed 2 months ago

garrett-is-a-swann commented 2 months ago

Add EcsModule to component parents if they exist. This is to avoid deletion of namespace entities during world fini, which can lead to component deletion before observers have a chance to fire.

SanderMertens commented 2 months ago

LGTM!