Activity memory leak caused by non-static inner thread
Brought to you by:
zc2
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.
com.ghostsq.commander.PictureViewer$LoaderThread
It will hold the Activity and prevent its timely release.
The anonymous thread can be replaced by static class with weakReference<pictureviewer> to update UI.</pictureviewer>
Sorry, it is a wrong submit in patch. Pls close it