We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/** * 退出应用程序 */ public void appExit() { try { killAll(); release();// 释放资源 ActivityManager activityMgr =//mApplication is null (ActivityManager) mApplication.getSystemService(Context.ACTIVITY_SERVICE); activityMgr.killBackgroundProcesses(mApplication.getPackageName()); System.exit(0); } catch (Exception e) { e.printStackTrace(); } }
/** * 释放资源 */ public void release() { EventBus.getDefault().unregister(this); mActivityList.clear(); mHandleListener = null; mActivityList = null; mCurrentActivity = null; mApplication = null; }
The text was updated successfully, but these errors were encountered:
这个方法里的代码早就修改了, 下个版本发布
Sorry, something went wrong.
No branches or pull requests
Look at here
MVPArms Version:
AndroidStudio Version:
Target Android Version:
Bug Description:
/**
* 退出应用程序
*/
public void appExit() {
try {
killAll();
release();// 释放资源
ActivityManager activityMgr =//mApplication is null
(ActivityManager) mApplication.getSystemService(Context.ACTIVITY_SERVICE);
activityMgr.killBackgroundProcesses(mApplication.getPackageName());
System.exit(0);
} catch (Exception e) {
e.printStackTrace();
}
}
/**
* 释放资源
*/
public void release() {
EventBus.getDefault().unregister(this);
mActivityList.clear();
mHandleListener = null;
mActivityList = null;
mCurrentActivity = null;
mApplication = null;
}
Related Code:
Bug Log:
Others
The text was updated successfully, but these errors were encountered: