mirror of
https://github.com/zhigang1992/FayeObjC.git
synced 2026-04-29 18:57:21 +08:00
Fixed dangling pointer error for web socket delegate when Faye client is freed by ARC reference counting.
This commit is contained in:
@@ -193,6 +193,7 @@
|
||||
#pragma mark Deallocation
|
||||
- (void) dealloc
|
||||
{
|
||||
self.webSocket.delegate = nil;
|
||||
self.delegate = nil;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user