From 8f7908f319952010f2613a0538bc594b909c4187 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 15 Mar 2022 16:16:52 +0100 Subject: [PATCH] Update packages/stream_chat/lib/src/ws/websocket.dart Co-authored-by: Gordon --- packages/stream_chat/lib/src/ws/websocket.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/stream_chat/lib/src/ws/websocket.dart b/packages/stream_chat/lib/src/ws/websocket.dart index 28f99fc5..888ba08b 100644 --- a/packages/stream_chat/lib/src/ws/websocket.dart +++ b/packages/stream_chat/lib/src/ws/websocket.dart @@ -112,7 +112,6 @@ class WebSocket with TimerHelper { if (_webSocketChannel != null) { _closeWebSocketChannel(); } - // throw Error(); _webSocketChannel = webSocketChannelProvider?.call(uri) ?? WebSocketChannel.connect(uri); _subscribeToWebSocketChannel();