模拟器停止运行

c++库出错了

你用什么功能导致的?

在一个网络请求回调里面执行一个runAction方法相关代码如下:
httpRequest.ajax({
url:URLUtil.URLProxy+URLUtil.SEARCH, //action地址
data:{“SecurityCode”:self.editbox.string}, //参数
success:function(data){//成功回调
self.Loading.getComponent(“DialogAction”).hide();
},
error:function(){//错误回调
self.Loading.getComponent(“DialogAction”).hide();
},
onStart:function(){
self.Loading.getComponent(“DialogAction”).show();
}
});

hide show方法会执行到代码:
startFadeOut: function () {
cc.eventManager.pauseTarget(this.node, true);
this.node.runAction(this.actionFadeOut);
},

好的,我测试一下

我能问一下 this.actionFadeOut 里面做了什么吗?

里面的执行代码:
this.actionFadeOut = cc.sequence(cc.spawn(cc.fadeTo(this.duration, 0), cc.scaleTo(this.duration, 2.0)), cbFadeOut);

那 cbFadeOut 这又是啥? 能一个完善的 demo 吗? 问题应该是出在 this.actionFadeOut 这个 Action 中

这块代码是参照官方demo的,代码如下:
onLoad: function () {
this.outOfWorld = cc.p(3000, 0);
this.node.position = this.outOfWorld;
let cbFadeOut = cc.callFunc(this.onFadeOutFinish, this);
let cbFadeIn = cc.callFunc(this.onFadeInFinish, this);
this.actionFadeIn = cc.sequence(cc.spawn(cc.fadeTo(this.duration, 255), cc.scaleTo(this.duration, 1.0)), cbFadeIn);
this.actionFadeOut = cc.sequence(cc.spawn(cc.fadeTo(this.duration, 0), cc.scaleTo(this.duration, 2.0)), cbFadeOut);
this.node.on(‘fade-in’, this.startFadeIn, this);
this.node.on(‘fade-out’, this.startFadeOut, this);
},

startFadeIn: function () {
    cc.eventManager.pauseTarget(this.node, true);
    this.node.position = cc.p(0, 0);
    this.node.setScale(2);
    this.node.opacity = 0;
    this.node.runAction(this.actionFadeIn);
},

startFadeOut: function () {
    cc.eventManager.pauseTarget(this.node, true);
    this.node.runAction(this.actionFadeOut);
},

onFadeInFinish: function () {
    cc.eventManager.resumeTarget(this.node, true);
},

onFadeOutFinish: function () {
    this.node.position = this.outOfWorld;
},

给我一个完整能触发 bug 的 demo 吧,这样比较快,谢谢