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

Commit 96d95bb

Browse files
committed
Fixed bug where SocketIOTransportWebsocket didn't clear the delegate on the SRWebSocket.
1 parent 5ed977c commit 96d95bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SocketIOTransportWebsocket.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ - (void) open
7777
[_webSocket open];
7878
}
7979

80+
- (void)dealloc {
81+
[_webSocket setDelegate:NULL];
82+
}
83+
8084
- (void) close
8185
{
8286
[_webSocket close];

0 commit comments

Comments
 (0)