bitbrain / braingdx

:video_game: Game jam framework based on libgdx.
Apache License 2.0
84 stars 1 forks source link

Behaviors removed during object pooling #93

Closed bitbrain closed 6 years ago

bitbrain commented 6 years ago

While implementing concurrent modification fixes for behaviors the following bug has been introduced:

While an object is re-used from the pool, it still might contain a remove request inside the behavior adapter. When an object is created ensure to clean all existing behaviors respectively.