-
Fixes a 5 Mb memory leak. Clear the victim pointer when calling LoadLevel, LoadJsonLevel, or deleteGame, thus stopping a Person and the Person's victim from pointing at each other, which is a reference cycle where neither Person can be destroyed.
Fixes a 5 Mb memory leak. Clear the victim pointer when calling LoadLevel, LoadJsonLevel, or deleteGame, thus stopping a Person and the Person's victim from pointing at each other, which is a reference cycle where neither Person can be destroyed.