skyfffire 1 anno fa
parent
commit
353a681a5e
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      exchanges/src/socket_tool.rs

+ 1 - 3
exchanges/src/socket_tool.rs

@@ -205,9 +205,7 @@ impl AbstractWsMode {
                             spawn(async move {
                                 let read = r.lock().await;
 
-                                if read.is_empty() {
-                                    read.unbounded_send(t.clone()).unwrap();
-                                }
+                                read.unbounded_send(t.clone()).unwrap();
                             });
                         }
                     });