提交 f4bd922d authored 作者: kongdywang's avatar kongdywang

Fix crash in individual cases

上级 5ae6a56c
...@@ -92,6 +92,7 @@ static const int CODE_ON_RECEIVE_FIRST_FRAME = 2003; ...@@ -92,6 +92,7 @@ static const int CODE_ON_RECEIVE_FIRST_FRAME = 2003;
- (void)notifyAppTerminate:(UIApplication *)application { - (void)notifyAppTerminate:(UIApplication *)application {
_isTerminate = YES; _isTerminate = YES;
_textureRegistry = nil; _textureRegistry = nil;
[self stopPlay];
} }
- (void)destory - (void)destory
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论