scratch that, I am simply tired for today ^)
//service on destroy
public void onDestroy() {
handler.getLooper().quit();
}
2010/12/13 Rustam Kovhaev <[email protected]>
> Hello there,
>
> I have a service from which I constantly call another service(lets call it
> B service),
> the problem is that in B service I have looper which processes
> two Runnables and when I stop B service, thread stays running, wouldn't die
> and when I call B service again I have two thread already
>
> in 5 min time I have about 30 threads, thread.interrupt doesn't seem to be
> working
>
> --
> Regards,
> Rustam Kovhaev
> http://libertadtech.com
>
>
--
Regards,
Rustam Kovhaev
http://libertadtech.com
--
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