Re: [android-developers] Asynctask threads never end!

2010-03-13 Thread Ken Warner
Null out all references to the thread. Java has a problem with zombie threads -- this is a java app right? I can't say exactly how you should do the following but make sure there is an explicit way to exit each thread. I usually set a flag to tell the thread to exit. Those two things -- null al

Re: [android-developers] Asynctask threads never end!

2010-03-13 Thread Mark Murphy
Gabriel Simões wrote: > Hello, > > Today, while debugging and app that uses AsyncTask to record audio and > update UI I noticed that everytime that an AsyncTask object ends > running (finishes doInBackground() and onPostExecute() or > onCancelled()) it´s thread stays alive (running status). > At l

[android-developers] Asynctask threads never end!

2010-03-13 Thread Gabriel Simões
Hello, Today, while debugging and app that uses AsyncTask to record audio and update UI I noticed that everytime that an AsyncTask object ends running (finishes doInBackground() and onPostExecute() or onCancelled()) it´s thread stays alive (running status). At least for me that should not be the b