blackberry/GamePlay — pull request #1427 by zejji (2014-01-29 14:45:05+00:00)
Title: Fix for DebugMem configuration on Windows

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.