You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
be.brunoparmentier.openbikesharing.app.activities.StationsListActivity
holds strong reference to the Activity which can lead to memory leak.
I think we should change JSONDownloadTask to an static class or outter class.
Besides, the instance of JSONDownloadTask is not cancelled, which can lead to result loss. I think the instance of JSONDownloadTask should be cancelled before the Activity is destroyed.
The text was updated successfully, but these errors were encountered:
pangeneral
changed the title
Memory leak caused by JSONDownloadTask
Problems about JSONDownloadTask
Aug 13, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The inner class JSONDownloadTask defined in
holds strong reference to the Activity which can lead to memory leak.
I think we should change JSONDownloadTask to an static class or outter class.
Besides, the instance of JSONDownloadTask is not cancelled, which can lead to result loss. I think the instance of JSONDownloadTask should be cancelled before the Activity is destroyed.
The text was updated successfully, but these errors were encountered: