Skip to content

Conversation

rynkowsg
Copy link

@rynkowsg rynkowsg commented Aug 6, 2016

AppDelegate object and all its members are never released.
As a solution, I proposed to use static unique_ptr that could destroy it at the end of the application.

Before applying the aforementioned fix I corrected also code style and correctness of main.cpp files in Android projects:

  • removed unused includes (reducing dependencies and compilation time)
  • corrected code style (whitespaces, headers' order, etc).

Greg Rynkowski added 2 commits August 6, 2016 10:14
- removed redundant headers (reduced dependencies)
- removed redundant code
- corrected code style
AppDelegate object and all its members are never released.
As a solution I propose to use static unique_ptr that could destroy it
at the end of the application.

Issue:
cocos2d/cocos2d-x#14110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant