diff --git a/cocos/platform/ios/CCGLViewImpl.mm b/cocos/platform/ios/CCGLViewImpl.mm index 2c05a03625..bb8f4fccf3 100644 --- a/cocos/platform/ios/CCGLViewImpl.mm +++ b/cocos/platform/ios/CCGLViewImpl.mm @@ -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]; }