fix for blenderplayer crashing on exit.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 26 Mar 2011 08:13:42 +0000 (08:13 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 26 Mar 2011 08:13:42 +0000 (08:13 +0000)
commit02a7063a0922c6c59a9f71ea2627e4f211a79899
tree230ed5a6652bbd3ac16d4bb060d451301395c7fd
parentd53a0cd48f5e9293a9e08252d261c830c34f532c
fix for blenderplayer crashing on exit.

the event consumer was being freed twice, once when going out of C++ scope, another when freeing the system.
intern/ghost/GHOST_C-api.h
intern/ghost/GHOST_ISystem.h
intern/ghost/intern/GHOST_C-api.cpp
intern/ghost/intern/GHOST_System.cpp
intern/ghost/intern/GHOST_System.h
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp