On Tue, Mar 29, 2011 at 10:19 AM, Kostya Vasilyev <[email protected]> wrote: > There is no leaked database connection with Content Providers.
Yes, there is, at least by my definition (close() not being called). > What happens is, the database is kept open as long as the application > process is alive, and is open just once, too. > > When/if the process is killed, the OS kernel closes the file. That presumes that there is no SQLite logic in a database close() that is important. One hopes that is the case, given the way content providers are implemented. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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

