Hey, trying to puzzle out someone else's code and have a question. If there is a custom subclass of RelativeLayout that holds a ScheduledExecutorService declared in the class as:
public ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1); Assume that the RelativeLayout-extension is created from .XML by Activity.setContentView(). In a case where the scheduler is off getting an image from an URL when the activity is destroyed, it returns some time after the new activity is shown and pushes it's image into the Layout (which is not attached to any window and invisible), then goes idle - presumably waiting for another task. Did the Activity just leak? A more specific question. Does a ScheduledExecutorService need to be explicitly shut down in order to be cleaned? Whenever I've used this class, I always just did it - what happens if you don't? -- 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