Kaku icon indicating copy to clipboard operation
Kaku copied to clipboard

Shutting down Kaku's service does not completely kill the service

Open 0xbad1d3a5 opened this issue 6 years ago • 1 comments

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.

0xbad1d3a5 avatar Feb 17 '19 03:02 0xbad1d3a5

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.

0xbad1d3a5 avatar Mar 15 '19 19:03 0xbad1d3a5