aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionHandler.m
diff options
context:
space:
mode:
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;