Kaku
Kaku copied to clipboard
Shutting down Kaku's service does not completely kill the service
Not sure if this is just Android behavior or not with services. But onDestroy does get called and I'm pretty sure I'm disposing of every object properly. Regardless, this is causing us to leak a little bit of memory each time this happens. After 40+ open/close cycles in rapid succession it starts to affect system performance.
Force stopping the Kaku service through Android's Apps screen / service screen will reclaim lost memory and return performance back to normal on the device though.
Tested this again last night. Surprisingly wasn't able to repo the issue anymore...
Will probably try again to repro a couple times before closing this issue.