[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Forcing the SQLite db to close?

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 4 Aug 2011 09:22:20 -0400

On Thu, Aug 4, 2011 at 5:14 AM, Bert Huijben <bert_at_qqmail.nl> wrote:

> The Javahl problem caused by calling dispose() should be fixed in r1153799.
> ****
>
> ** **
>
> @Mark: Can you verify if this solves your problem?****
>
> ** **
>
> If this resolves the problem this fix might need backport to 1.6.
>

I merged this commit and the followup to my 1.7.x branch and tested.

This fix definitely seems to fix the crash problem. If you have not
nominated this yet for backport to 1.7.x please do so and add my +1.

From what I can tell, this also fixes the problem with the locks being left
on the database. I probably need to do a little more testing on this to be
sure, but from what I see it seems to solve the problem. Now that dispose
works, I also have to resume my task in Subclipse of being sure to call it
everywhere I release the object.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-08-04 15:22:52 CEST

This is an archived mail posted to the Subversion Dev mailing list.