1.6 rc1 渲染bug?微信分享后 游戏界面死了

1.6 rc1
cc.director.loadScene
木有切换页面!!!!(动画 ,也不动了)

重现:
微信分享切到微信界面再回退到游戏界面

是不是渲染停滞了??

测试了个动画 ,也不动了
@panda
@wangzhe

  • (void)applicationWillEnterForeground:(UIApplication )application {
    /

    Called as part of transition from the background to the inactive state: here you can undo many of the changes made on entering the background.
    /
    auto glview = (__bridge CCEAGLView
    )(Director::getInstance()->getOpenGLView()->getEAGLView());
    auto currentView = [[[[UIApplication sharedApplication] keyWindow] subviews] lastObject];
    if (glview == currentView) {
    cocos2d::Application::getInstance()->applicationWillEnterForeground();
    }
    }

把这句话里的if注释掉 ,就好了,请教?

我是sdk先打开一个原生弹窗,然后再打开微信的。