If self.isConnected == YES in dealloc, then the following line crashes in dequeueWrite:
__weak typeof(self) weakSelf = self;
objc[1409]: Cannot form weak reference to instance (0x6000000f6b80) of class JFRWebSocket. It is possible that this object was over-released, or is in the process of deallocation.
If self.isConnected == YES in dealloc, then the following line crashes in dequeueWrite:
__weak typeof(self) weakSelf = self;
objc[1409]: Cannot form weak reference to instance (0x6000000f6b80) of class JFRWebSocket. It is possible that this object was over-released, or is in the process of deallocation.