On Oct 11, 9:52 am, Chris <crehb...@gmail.com> wrote:

> While its not as bulletproof as an onDestroy or onTerminate, for various
> reasons I keep a reference count on the number of activities my app opens.  
> When the reference count goes to zero I cleanup stuff on the app scope,
> assuming that the Application context is going away soon.
>
> Maybe it'll help?

I'm suddenly having some painful COM IUnknown flashbacks :-)

-- 
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

Reply via email to