Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Background thread never get destroy #2

Open
ghost opened this issue Jan 21, 2014 · 1 comment
Open

Background thread never get destroy #2

ghost opened this issue Jan 21, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 21, 2014

I am very new to android development so please forgive me if I am wrong. I believe the ChronometerDrawer did not get destroy. The function SurfaceDestroyed never get called. So the Thread keeps running at the background even thou the card is remove from the timeline.

@r-b-us
Copy link

r-b-us commented Feb 17, 2014

In StopWatchService.java onDestroy, the LiveCard must be unpublished before the callback is removed. Just move the unpublish to before the callback remove and it works. Did for me anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant