首页 > 代码库 > 关于1024:堆栈下溢的错误(1024. Stack Underflow Occurred)

关于1024:堆栈下溢的错误(1024. Stack Underflow Occurred)

http://blog.163.com/sylar_lin/blog/static/192332093201111242412487/

 

今天碰到个很奇怪的问题,注释掉下面的trace,realse版本才不报错。

private function onSuccess(rspObj:Object):void		{//			unLoading();			isbusying = false;						if(rspObj.code == 1){//如果code是1结果正常//				trace("<==req success");//				trace("<==请求"+rspObj.controller+"成功");				if(dict[rspObj.controller]!=null){					var param:Object = dict[rspObj.controller].param;					dict[rspObj.controller].callback(rspObj.msg,param);				}				delete dict[rspObj.controller];			}else if(rspObj.code == -1){//code为-1是重新登陆				GameManager.getInstance().uiManager.openUpdatePagePanel()			}else{				//0代表有问题  msg就是问题的描述				GameTips.instance.textFlow(rspObj.msg);//				throw new Error("请求"+rspObj.controller+"失败");			}					}

  

关于1024:堆栈下溢的错误(1024. Stack Underflow Occurred)