AsyncTasks are like Future(Task) instances executing on
ExecutorServices (java.util.concurrent).

On Sep 23, 6:17 pm, John Gaby <jg...@gabysoft.com> wrote:
> I am using AsyncTask.  When I call the 'execute' function, a new
> thread is created.  However, when the doInBackground function returns,
> the thread remains (seemingly forever), even though I have no
> references to the AsyncTask object anymore.  This is true, even if I
> force a garbage collection.
>
> How do I get the AsyncTask thread to exit?
>
> Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to