From 3f3690fd0ffe43c3986789cf64bcdd25597eed1e Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Fri, 19 Mar 2010 14:19:28 +0000 Subject: - Improve thread locking in certain thread conditions --- Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Frameworks/MCPKit/MCPFoundationKit') diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m index b00ea4c5..83260b82 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m @@ -1676,7 +1676,7 @@ void performThreadedKeepAlive(void *ptr) } if ([NSThread isMainThread]) [queryLock unlock]; - else [queryLock performSelectorOnMainThread:@selector(unlock) withObject:nil waitUntilDone:YES]; + else [queryLock performSelectorOnMainThread:@selector(unlock) withObject:nil waitUntilDone:NO]; } #pragma mark - -- cgit v1.2.3