On Tue, Feb 22, 2011 at 2:19 PM, Justin Anderson <[email protected]> wrote: >> Don't wait until onDestroy() to update your flag. Update your flag >> "when it finishes its work", which by definition will be sooner than >> -- and hopefully on a different thread than -- onDestroy(). > > That is a better place to put the flag but that would only work in some > cases... If the service is killed before the work is done then the same > problem exists.
Yes, but then the work isn't done. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- 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

