diff options
author | rowanbeentje <rowan@beent.je> | 2010-03-19 14:19:28 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-03-19 14:19:28 +0000 |
commit | 3f3690fd0ffe43c3986789cf64bcdd25597eed1e (patch) | |
tree | 458bcdbd1bcdaa4d5adc0c3ac479b939b64ea33c /Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m | |
parent | 5f5c57ab20f536145491e9b25b1a72fae5bb29cc (diff) | |
download | sequelpro-3f3690fd0ffe43c3986789cf64bcdd25597eed1e.tar.gz sequelpro-3f3690fd0ffe43c3986789cf64bcdd25597eed1e.tar.bz2 sequelpro-3f3690fd0ffe43c3986789cf64bcdd25597eed1e.zip |
- Improve thread locking in certain thread conditions
Diffstat (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m')
-rw-r--r-- | Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m | 2 |
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 - |