Dawoodoz / DFPSR

Fast realtime softare rendering library for C++14 using SSE/AVX/NEON. 2D, 3D and isometric rendering with minimal system dependencies.
https://dawoodoz.com/dfpsr.html
78 stars 6 forks source link

Safely deferring component destruction #74

Closed Dawoodoz closed 1 year ago

Dawoodoz commented 1 year ago

It is now safe to call component_detachFromParent from within the same component's event, by marking it to be detached in a backwards loop after the event is over.