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 almost 3 years ago


  • 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. 2014-01-08 08:34
  • Priority changed from High to Normal
  • Target version deleted (Candidate)

Atom PDF

Start date:2013-08-07
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.