Android上onDestroy方法报错

@Override  
protected void onDestroy() { 
    System.out.println("onDestroy AppActivity");
    Intent intent = new Intent(AppActivity.this, Alarmreceiver.class);  
    intent.setAction("arui.alarm.action");
    sendBroadcast(intent);
    super.onDestroy();
}  

    退出游戏运行报错:Activity org.cocos2dx.cpp.AppActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@41751f98 that was originally added here 网上说这是什么日志没dismiss我压根就没日志。如过onDestroy方法里不加广播的代码,就没问题

换了个手机就好了,Android真的是乱七八糟

应该是socket没有关闭释放造成资源泄露