[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gworkspace - ddbd connection problems
From: |
Riccardo Mottola |
Subject: |
gworkspace - ddbd connection problems |
Date: |
Wed, 20 Feb 2013 01:34:07 +0100 |
User-agent: |
Opera Mail/12.14 (Win32) |
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
- gworkspace - ddbd connection problems,
Riccardo Mottola <=