From 4ccb970ee78d34230ee8241878332125b83ed130 Mon Sep 17 00:00:00 2001 From: Stepan Generalov Date: Mon, 24 Jun 2013 18:40:19 -0700 Subject: [PATCH] SocketIO: don't use NSURLConnection delegate property in -dealloc - not available without BlocksKit --- SocketIO.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SocketIO.m b/SocketIO.m index 4612d54..e48cfb8 100755 --- a/SocketIO.m +++ b/SocketIO.m @@ -764,7 +764,7 @@ - (void) connection:(NSURLConnection *)connection - (void) dealloc { - _handshake.delegate = nil; + [_handshake cancel]; _handshake = nil; _host = nil;