CelestialPossession

Results 2 comments of CelestialPossession
trafficstars

> 同样遇到了这个问题,你是怎样修复的? https://github.com/square/leakcanary/issues/1079

![screenshot_2019-01-04-16-48-49](https://user-images.githubusercontent.com/16744210/50680392-8ebabf00-1042-11e9-9242-67ffdb1941d4.png) ![screenshot_2019-01-04-16-53-32](https://user-images.githubusercontent.com/16744210/50680394-8febec00-1042-11e9-8073-315002051058.png) 以上LeakCanary显示的泄露路径,模拟器为夜神模拟器,安卓4.4 我将项目内所有和handler相关的代码,以及view.post()代码注释掉,泄露仍然存在。 ![screenshot_2019-01-04-16-49-05](https://user-images.githubusercontent.com/16744210/50680488-dccfc280-1042-11e9-93cb-f2fa155dec2e.png) 然后我注意到泄露列表里有Exclude标记,猜测是某种不规范调用下的系统级的泄露。 https://github.com/square/leakcanary/issues/1079 ![598b7014e28d59c8ad2975650dcf1978](https://user-images.githubusercontent.com/16744210/50680548-11dc1500-1043-11e9-8a2e-e2eecbe25eb8.png) 最后一张图没有显示Exclude,机型为小米6,MIUI10。