//leakcanary-repo/leakcanary/AndroidLeakFixes/FLUSH_HANDLER_THREADS
FLUSH_HANDLER_THREADS¶
[androidJvm]\ FLUSH_HANDLER_THREADS
HandlerThread instances keep local reference to their last handled message after recycling it. That message is obtained by a dialog which sets on an OnClickListener on it and then never recycles it, expecting it to be garbage collected but it ends up being held by the HandlerThread.
Properties¶
| Name | Summary |
|---|---|
| name | [androidJvm] val name: String |
| ordinal | [androidJvm] val ordinal: Int |