You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to stop the runloop first.
cocos2d::Application::getInstance()->onPause();
cocos2d::Application::getInstance()->stop();
refer to my post https://forum.cocos.org/t/cocos2-x/98806
cocos关闭和重新开启问题
v2.2.2
问题是:关闭的时候内存可以正常释放, 但是第二次重启的时候会出现黑屏的现象。找了一下原因,是DeviceGraphics这类引起的。我要是强行delete DeviceGraphics 类,黑屏现象没了,但是会有内存溢出的错误。
求助一下 大神们 能不能指导一下
@ PatriceJiang
The text was updated successfully, but these errors were encountered: