aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionHandler.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2013-02-14 19:25:27 +0000
committersqlprodev <sqlprodev@northofthree.com>2013-02-14 19:25:27 +0000
commit47069472a4b5dc6655338a77ec8b1eb9a5f5c3d9 (patch)
treec135c5b21ece6bb5bd8f63d56f7e95fa9852abb4 /Source/SPConnectionHandler.m
parentc37936d71c9c8ad9b721e33899bb118032466896 (diff)
downloadsequelpro-47069472a4b5dc6655338a77ec8b1eb9a5f5c3d9.tar.gz
sequelpro-47069472a4b5dc6655338a77ec8b1eb9a5f5c3d9.tar.bz2
sequelpro-47069472a4b5dc6655338a77ec8b1eb9a5f5c3d9.zip
Changes required to merge Sequel Pro r4011 into Coda
Diffstat (limited to 'Source/SPConnectionHandler.m')
-rw-r--r--Source/SPConnectionHandler.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPConnectionHandler.m b/Source/SPConnectionHandler.m
index 29c6e8fe..79ec0aba 100644
--- a/Source/SPConnectionHandler.m
+++ b/Source/SPConnectionHandler.m
@@ -213,7 +213,9 @@ static NSString *SPLocalhostAddress = @"127.0.0.1";
if (sshTunnel) [sshTunnel disconnect], [sshTunnel release], sshTunnel = nil;
[mySQLConnection release], mySQLConnection = nil;
+#ifndef SP_REFACTOR
if (!cancellingConnection) [self _restoreConnectionInterface];
+#endif
[pool release];
return;