mirror of https://github.com/axmolengine/axmol.git
a2eb8977e0
This is leaking the eaglview when the Director is purged. In our case, we are leaving the cocos environment on some views which are implemented with cocoa, and because this eaglview is not being released, it is getting notifications for keyboard events, and trying to access stuff on the NULL eaglview, crashing our app. Uncommnenting this line seems to fix the problem for us, and we haven't been able to find any nasty side effects. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
audio | ||
base | ||
deprecated | ||
editor-support | ||
math | ||
network | ||
physics | ||
platform | ||
renderer | ||
scripting/lua-bindings | ||
storage | ||
ui | ||
Android.mk | ||
CMakeLists.txt | ||
cocos2d.cpp | ||
cocos2d.h |