Hi,
While I experimented with removing certain autoreleasepools around
connections, as tit was suggested here on the list, without results,
Sebastian empirically fount out that this aptch
Index: Tools/ddbd/ddbd.m
===================================================================
--- Tools/ddbd/ddbd.m (revision 36176)
+++ Tools/ddbd/ddbd.m (working copy)
@@ -223,14 +223,12 @@
- (NSArray *)userMetadataForPath:(NSString *)apath
{
- CREATE_AUTORELEASE_POOL(arp);
NSArray *usrdata = nil;
[pathslock lock];
usrdata = [pathsManager metadataForPath: apath];
[pathslock unlock];
- RELEASE (arp);
return usrdata;
}
helps a lot, for example it does not crash on MDKit indexing.. But why? I
cannot see anything bad to instantiate a new autoreleasepool and releasing
it later. Why woul this change make connections die or not?
Riccardo
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep