Fixing a crash on exit when using the Blenderplayer on win32. When free_blender(...
authorMitchell Stokes <mogurijin@gmail.com>
Fri, 31 Dec 2010 10:56:06 +0000 (10:56 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Fri, 31 Dec 2010 10:56:06 +0000 (10:56 +0000)
commitf0b0cce7bd295ccfbf52411abfd04789fa731c19
tree8fda6790d86b57120c9946765dae1007a0f225a9
parent23e5b79ced59dd248359e9e4fe498faa8230a29f
Fixing a crash on exit when using the Blenderplayer on win32. When free_blender() was freeing main, main was garbage since the blend file data was already freed. So, I just replaced free_blender) with IMB_exit() and free_nodesystem(). Using free_blender() worked when I was in Linux running tests. That or I'm just gong crazy. ;)
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp