comment out [glview release]; and [eaglview release];

This commit is contained in:
Slack-Moehrle 2014-08-27 10:42:27 -07:00
parent d4d2b8c83e
commit 1b5413d8b4
1 changed files with 0 additions and 3 deletions

View File

@ -102,7 +102,6 @@ GLViewImpl::GLViewImpl()
GLViewImpl::~GLViewImpl()
{
CCEAGLView *glview = (CCEAGLView*) _eaglview;
// per: http://discuss.cocos2d-x.org/t/ios-glview-cceaglview-incorrect-memory-management/16554/3
//[glview release];
}
@ -188,8 +187,6 @@ void GLViewImpl::end()
CCEAGLView *eaglview = (CCEAGLView*) _eaglview;
[eaglview removeFromSuperview];
// per: http://discuss.cocos2d-x.org/t/ios-glview-cceaglview-incorrect-memory-management/16554/3
//[eaglview release];
}