Excluded ReleaseData() if Memory Manager is not used

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5845 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0b7bfdb6d4d1648991a0409bdc530ade4aeeb558
Former-commit-id: 6e8ff16e9758c272ef46d2dd5bdc40f143d826ee
This commit is contained in:
wdbee 2014-11-17 21:09:21 +00:00
parent 97aa0ef624
commit 274b0e9f55

View file

@ -231,8 +231,10 @@ main(int argc, char *argv[])
if (piUserItf && piRaceEngine)
{
#ifdef __DEBUG_MEMORYMANAGER__
// Allow to use Garbage Collection in case of GfuiApp().restart();
pApp->ReleaseData = &ReleaseData;
#endif
// Enter the user interface.
if (piUserItf->activate())