diff options
author | jakob <jakob@eggerapps.at> | 2010-01-28 20:52:15 +0000 |
---|---|---|
committer | jakob <jakob@eggerapps.at> | 2010-01-28 20:52:15 +0000 |
commit | 040f27d6558e818439b6aff1d06bb41cd4854cba (patch) | |
tree | 7f2c45dc6769dee7f0fa9e27e318010e3a307e60 /Source/SPSSHTunnel.m | |
parent | f2a6d2a88de4b492e3c22200c8dc99f2ef475e4a (diff) | |
download | sequelpro-040f27d6558e818439b6aff1d06bb41cd4854cba.tar.gz sequelpro-040f27d6558e818439b6aff1d06bb41cd4854cba.tar.bz2 sequelpro-040f27d6558e818439b6aff1d06bb41cd4854cba.zip |
* fixed typo that prevented the document window from closing when choosing 'disconnect' in the connection error dialog
* improved some comments
Diffstat (limited to 'Source/SPSSHTunnel.m')
-rw-r--r-- | Source/SPSSHTunnel.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m index 9b53adda..48d17932 100644 --- a/Source/SPSSHTunnel.m +++ b/Source/SPSSHTunnel.m @@ -476,7 +476,7 @@ // request an answer on the main thread (UI stuff must be done on main thread) [self performSelectorOnMainThread:@selector(workerGetResponseForQuestion:) withObject:theQuestion waitUntilDone:YES]; - // wait until an answer is available + // wait for the signal in closeSSHQuestionSheet: while (!isAnswerAvailable) [answerAvailableCondition wait]; // save the answer @@ -533,7 +533,7 @@ // request password on the main thread (UI stuff must be done on main thread) [self performSelectorOnMainThread:@selector(workerGetPasswordForQuery:) withObject:theQuery waitUntilDone:YES]; - // wait until an answer is available + // wait for the signal in closeSSHPasswordSheet: while (!isAnswerAvailable) [answerAvailableCondition wait]; // save the answer |