AnsweredAssumed Answered

Leaking LocationListener in LocationDisplayManager

Question asked by luks91 on Nov 28, 2014
Latest reply on Apr 30, 2015 by sauegr01

Hi guys,


I have found out that once the .start() method has been called on the LocationDisplayManager class, the inner LocationListener is not unregistered from the LocationManager even if the stop() and/or pause() methods have been called.


This triggers really bad leaking flow leading to an issue, that even the Context itself cannot be garbage collected.


Looking forward to your responses.