jotoh98 / treasureHunt

Treasure hunt engine for PG Computational Geometry
6 stars 1 forks source link

GameManager instances are not garbage collected #379

Open jotoh98 opened 4 years ago

jotoh98 commented 4 years ago

I have got a problem implementing a listener on the view index so I checked the heap for duplicates and voila. No game manager instance is collected.

To recreate: click multiple times on init. I'm not sure if this happens because of a short time difference between clicking init and checking the memory or if this is a bug.

Bildschirmfoto 2020-04-07 um 02 16 26