Author: qmathe
Date: Wed Jan 22 14:04:12 2014
New Revision: 10116
URL: http://svn.gna.org/viewcvs/etoile?rev=10116&view=rev
Log:
Fixed revision cache never releasing a store once cached.
This was causing the stores cached in the revision cache to grow continuously
during the test suite. At the end, around 900 FMDatabase objects would still
be present in-memory on Mac OS X, and even more on GNUstep.
Note: Accumulating unreleased database connections means we can hit the system
opened file descriptor limit at some point, and get weird and random
database opening errors.
Modified:
trunk/Etoile/Frameworks/CoreObject/Core/COEditingContext.m
trunk/Etoile/Frameworks/CoreObject/Core/CORevisionCache.h
trunk/Etoile/Frameworks/CoreObject/Core/CORevisionCache.m
trunk/Etoile/Frameworks/CoreObject/Tests/Core/TestEditingContext.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs