aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSSHTunnel.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPSSHTunnel.m')
-rw-r--r--Source/SPSSHTunnel.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m
index 4839c886..106f8774 100644
--- a/Source/SPSSHTunnel.m
+++ b/Source/SPSSHTunnel.m
@@ -166,11 +166,11 @@
*/
- (SPMySQLConnectionProxyState)state
{
-
// See if an auth dialog is up
if (![answerAvailableLock tryLock]) {
return SPMySQLProxyWaitingForAuth;
}
+
[answerAvailableLock unlock];
// Return the currently recorded state