-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
An anonymous inner class will hold a reference to the this pointer of the outer class and will not be released until the thread ends.
We have detected that your implementation has a lot of reading and writing data in anonymous threads of the Activity, and these threads will hold the Activity and prevent its timely release.
ch.hgdev.toposuite.points.PointsImporterDialog
ch.hgdev.toposuite.jobs.JobsActivity
ch.hgdev.toposuite.points.PointsImporterActivity
ch.hgdev.toposuite.jobs.JobImporterActivity
Some of the anonymous threads can be replaced by static class to eliminate unnecessary references.
And some can be replaced by the Handler class.
If you agree, a PR will be submitted.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels