From f556c17497139ea0d97762a1aeb94e4e01b54036 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 18 Jun 2013 19:33:34 -0400 Subject: [PATCH] When the MessageQueue disconnects, release it in ProtocolClient. --- Source/ProtocolClient.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/ProtocolClient.m b/Source/ProtocolClient.m index a43249b..931a9d1 100644 --- a/Source/ProtocolClient.m +++ b/Source/ProtocolClient.m @@ -116,6 +116,8 @@ onThread:_delegateThread withObject:self waitUntilDone:NO]; + [_messageQueue release]; + _messageQueue = nil; } // If the write stream is ready, the delegate controls whether or not the next -- 2.43.5