We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ff9abd2 + 1be7059 commit d5538d5Copy full SHA for d5538d5
1 file changed
lib/src/http/websocket_conn.dart
@@ -250,6 +250,9 @@ class WebSocketConnection extends Connection {
250
bool _sending = false;
251
252
void _send() {
253
+ if (!_sending) {
254
+ return;
255
+ }
256
_sending = false;
257
bool needSend = false;
258
Map m;
@@ -381,6 +384,7 @@ class WebSocketConnection extends Connection {
381
384
if (pingTimer != null) {
382
385
pingTimer.cancel();
383
386
}
387
+ _sending = false;
388
389
390
String formatLogMessage(String msg) {
0 commit comments