Projects > cpp > Issues > Bug #2499

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Crash appears when adding sys.garbageCollect() after cc.Director.getInstance().replaceScene()

Bug #2499 [Rejected]
kenan_liu 2013-08-07 08:31 . Updated over 10 years ago

version:cocos2d-x-2.1.4

  • current running scene is PlayLayer.scene().
  • replaceScene with a new PlayLayer.scene().
  • call sys.garbageCollect() right after replaceScene.
  • crash in ScriptingCore::forceGC();
zhangxm 2013-08-12 02:18
  • Target version set to 3.0-alpha0
zhangxm 2013-09-16 12:06
  • Target version changed from 3.0-alpha0 to Candidate
WenHai 2014-01-08 03:32
  • Status changed from New to Rejected

I tested it on 3.0 alpha1,it work normal.

walzer@cocos2d-x.org 2014-01-08 08:34
  • Priority changed from High to Normal
  • Target version deleted (Candidate)

Atom PDF

Status:Rejected
Start date:2013-08-07
Priority:Normal
Due date:
Assignee:dumganhar
% Done:

0%

Category:js
Target version:-