blackberry/GamePlay — pull request #1425 by zejji (2014-01-29 12:41:46+00:00)
Title: Fixed breaking change in gameplay 2.0 which prevents DebugMem mode working properly

Since gameplay 2.0, the Game class's finalize() method never gets called, even in DebugMem configuration, rendering the memory leak reports useless.

This change reverts to the gameplay 1.7 code where FORCE_CLEAN_SHUTDOWN or GP_USE_MEM_LEAK_DETECTION are defined.

NB: This change is for Windows only, as I do not currently have an installation of gameplay on Linux.