diff options
author | rowanbeentje <rowan@beent.je> | 2011-06-19 18:15:13 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-06-19 18:15:13 +0000 |
commit | 751eef37cdfdb7b45ff199dd1fadd00bf02d5d6c (patch) | |
tree | 4aaef16ad9f7d2656ceabf775c4b568a26589f10 | |
parent | ff6ce898511a7ce6507cbc719f8ebc593a559562 (diff) | |
download | sequelpro-751eef37cdfdb7b45ff199dd1fadd00bf02d5d6c.tar.gz sequelpro-751eef37cdfdb7b45ff199dd1fadd00bf02d5d6c.tar.bz2 sequelpro-751eef37cdfdb7b45ff199dd1fadd00bf02d5d6c.zip |
- Ensure the connection delegate is nil on initialisation
-rw-r--r-- | Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m index 0e403eaf..3d0ee5ab 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m @@ -166,7 +166,8 @@ static BOOL sTruncateLongFieldInLogs = YES; lastQueryErrorId = 0; lastQueryErrorMessage = nil; lastQueryAffectedRows = 0; - lastPingSuccess = NO; + lastPingSuccess = NO; + delegate = nil; delegateSupportsConnectionLostDecisions = NO; delegateResponseToWillQueryString = NO; |