Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 4ccb970

Browse files
committed
SocketIO: don't use NSURLConnection delegate property in -dealloc - not available without BlocksKit
1 parent 9f1dc94 commit 4ccb970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SocketIO.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ - (void) connection:(NSURLConnection *)connection
764764

765765
- (void) dealloc
766766
{
767-
_handshake.delegate = nil;
767+
[_handshake cancel];
768768
_handshake = nil;
769769

770770
_host = nil;

0 commit comments

Comments
 (0)