aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-26 14:37:33 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-26 14:37:33 +0000
commit91db43ffddbe3f5476ef3265b57d68c61a8e06c2 (patch)
treea7b3420a81d3425a3ae54f449c787e849af7301e
parent51da32fca71b30824a4679ecf876597a813b284f (diff)
downloadsequelpro-91db43ffddbe3f5476ef3265b57d68c61a8e06c2.tar.gz
sequelpro-91db43ffddbe3f5476ef3265b57d68c61a8e06c2.tar.bz2
sequelpro-91db43ffddbe3f5476ef3265b57d68c61a8e06c2.zip
Revert a change made in r2005 by not waiting on the completion of calls to unlockConnection on the main thread.
-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 af3bae08..878d6844 100644
--- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
+++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
@@ -1663,7 +1663,7 @@ void performThreadedKeepAlive(void *ptr)
// Ensure the unlock occurs on the main thread
if (![NSThread isMainThread]) {
- [self performSelectorOnMainThread:@selector(unlockConnection) withObject:nil waitUntilDone:YES];
+ [self performSelectorOnMainThread:@selector(unlockConnection) withObject:nil waitUntilDone:NO];
return;
}