When the MessageQueue disconnects, release it in ProtocolClient.
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 18 Jun 2013 23:33:34 +0000 (19:33 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 18 Jun 2013 23:33:34 +0000 (19:33 -0400)
Source/ProtocolClient.m

index a43249b39cf376cbba725330e696b95befb6b3f2..931a9d11ac8420bebf5f0a6680c4b7a025586fa6 100644 (file)
                     onThread:_delegateThread
                   withObject:self
                waitUntilDone:NO];
+  [_messageQueue release];
+  _messageQueue = nil;
 }
 
 // If the write stream is ready, the delegate controls whether or not the next