码迷,mamicode.com
首页 > 移动开发 > 详细

has leaked window com.android.internal.policy.impl.PhoneWindow$ that was originally added here异常解决

时间:2015-08-07 13:24:39      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:android   异常解决   

has leaked window com.android.internal.policy.impl.PhoneWindow$ that was originally added here异常解决


异常原因:强制当前Activity被关闭时却没能及时的调用dismiss来解除对ProgressDialog等的引用


解决方式:重写Activity的onDestroy方法,在方法中调用dismiss来解除对ProgressDialog等的引用


版权声明:本文为博主原创文章,未经博主允许不得转载。

has leaked window com.android.internal.policy.impl.PhoneWindow$ that was originally added here异常解决

标签:android   异常解决   

原文地址:http://blog.csdn.net/pcaxb/article/details/47337117

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!