[android-developers] Re: AsyncTask thread does not terminate
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home