On 4 mar, 20:21, Mark Murphy <[email protected]> wrote:
> Active threads are not eligible for GC, as they are held by the OS.

Oh ok, I did not know that, this is very interesting.


> On Sun, Mar 4, 2012 at 8:04 AM, Romain Guidoux <[email protected]> 
> wrote:
> Why do you think you "have" to do this? onDestroy() should not be
> "waiting" for anything.

Well, I did not absolutely wanted to wait in the onDestroy() method,
but I wanted my thread stuff to terminate in a good and safe state.
But now I know that a running thread cannot be GC, I have no reason to
wait anymore.

Thanks for your help !

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

Reply via email to