No one else has noticed this, but that's because no one has really looked in the flash port.
Perhaps I've misunderstood, but I saw no evidence that the body was being cleaned up but no the actor. DestroyBody doesn't promise to release all references (as it get's its contract from C++ where this is a non-issue). My presumtion was that references could be left via a chain like
my_world->m_pairManager->m_freePairsList->next->...->next->body->userData.
(or similarly for proxies). I'd check this code if you are concerned, but first just use the debugger to see if bodies are getting cleaned up or not. Sounds like the Java port is more robustly written and actually sets next->body=null;.
But as you create new pairs (or proxies) it will eventually re-use the old ones, and then the actor will be released. So there's no unbounded growth of non-collected data.
Perhaps I've misunderstood, but I saw no evidence that the body was being cleaned up but no the actor. DestroyBody doesn't promise to release all references (as it get's its contract from C++ where this is a non-issue). My presumtion was that references could be left via a chain like
my_world->m_pairManager->m_freePairsList->next->...->next->body->userData.
(or similarly for proxies). I'd check this code if you are concerned, but first just use the debugger to see if bodies are getting cleaned up or not. Sounds like the Java port is more robustly written and actually sets next->body=null;.
But as you create new pairs (or proxies) it will eventually re-use the old ones, and then the actor will be released. So there's no unbounded growth of non-collected data.