移除 web socket ondone 回调

master
张萌 3 years ago
parent 0e559e575e
commit 9917395f9f

@ -95,8 +95,7 @@ class WebSocketUtil {
onStart?.call();
_webSocket!.stream.listen(
(event) => webSocketReceiveMessage(event as String),
onError: webSocketOnError,
onDone: webSocketClosed);
onError: webSocketOnError, );
initHeartBeat();
} catch (e) {
BotToast.showText(text: 'webSocket连接失败');

Loading…
Cancel
Save