Projects > cpp > Issues > Bug #1155

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

Create Issue on Github

Reverted CCDirector singleton to original implementation

Bug #1155 [Closed]
dumganhar 2012-04-12 10:13 . Updated over 12 years ago

We must take care of the life cycle of CCDirector which should be firstly initialized and be destroyed at the last. Therefore, we should use a global object variable rather than a global object pointer variable.

dumganhar 2012-04-12 10:26
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:c4025b7b8eefa73755d6b78bf19ba002e6dfdece.

zhangxm 2012-04-18 03:18
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2012-05-25 07:56
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
walzer@cocos2d-x.org 2012-05-25 07:58
  • Target version deleted (26)
walzer@cocos2d-x.org 2012-05-25 09:57
  • Target version set to cocos2d-2.0-rc0a-x-2.0

Atom PDF

Status:Closed
Start date:2012-04-12
Priority:Normal
Due date:
Assignee:dumganhar
% Done:

100%

Category:-
Target version:cocos2d-2.0-rc0a-x-2.0