aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-03-19 14:19:28 +0000
committerrowanbeentje <rowan@beent.je>2010-03-19 14:19:28 +0000
commit3f3690fd0ffe43c3986789cf64bcdd25597eed1e (patch)
tree458bcdbd1bcdaa4d5adc0c3ac479b939b64ea33c /Frameworks/MCPKit
parent5f5c57ab20f536145491e9b25b1a72fae5bb29cc (diff)
downloadsequelpro-3f3690fd0ffe43c3986789cf64bcdd25597eed1e.tar.gz
sequelpro-3f3690fd0ffe43c3986789cf64bcdd25597eed1e.tar.bz2
sequelpro-3f3690fd0ffe43c3986789cf64bcdd25597eed1e.zip
- Improve thread locking in certain thread conditions
Diffstat (limited to 'Frameworks/MCPKit')
-rw-r--r--Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m2
1 files changed, 1 insertions, 1 deletions
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 -