标题: 关于Fatal signal 11 (SIGSEGV) at 0x000019b0 [打印本页] 作者: YYK 时间: 2014-9-13 16:46 标题: 关于Fatal signal 11 (SIGSEGV) at 0x000019b0 通话挂断,有时候会出现闪退:
activity销毁代码:
@Override
protected void onDestroy() {
super.onDestroy();
// executorService.submit(dialResetRun);// 销毁之前一律复位,暂且不考虑下行报文
int a = anychat.UserSpeakControl(-1, 0);
if (StringUtils.isNotEmpty(otherUserid + "")) {
int b = anychat.UserCameraControl(otherUserid, 0);
System.out.println("取消控制对方语音:"+b);
}
int c = anychat.LeaveRoom(-1);
int d = anychat.Logout();
int e = anychat.Release();
System.out.println(a+"----"+c+"--"+d+"-"+e);
BussinessCenter.roomName = "";
timer.cancel();
System.out.println("===================onDestroy===================");
}