diff --git a/Source/ARTWebSocketTransport.m b/Source/ARTWebSocketTransport.m index c14c83c6c..51220afd0 100644 --- a/Source/ARTWebSocketTransport.m +++ b/Source/ARTWebSocketTransport.m @@ -337,11 +337,6 @@ - (ARTRealtimeTransportError *)classifyError:(NSError *)error { - (void)webSocket:(id)webSocket didReceiveMessage:(id)message { ARTLogVerbose(self.logger, @"R:%p WS:%p websocket did receive message", _delegate, self); - if (self.websocket.readyState == ARTWebSocketReadyStateClosed) { - ARTLogDebug(self.logger, @"R:%p WS:%p websocket is closed, message has been ignored", _delegate, self); - return; - } - if ([message isKindOfClass:[NSString class]]) { [self webSocketMessageText:(NSString *)message]; } else if ([message isKindOfClass:[NSData class]]) {