From 313d023eef849ea0d8d501d03d17f914b6ae947b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 22 Apr 2020 00:29:25 -0400 Subject: [PATCH] Changing wait to spawn in websocket. --- server/src/routes/websocket.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/websocket.rs b/server/src/routes/websocket.rs index 48b7d08f..3814a8e9 100644 --- a/server/src/routes/websocket.rs +++ b/server/src/routes/websocket.rs @@ -124,7 +124,7 @@ impl StreamHandler> for WSSession { } actix::fut::ready(()) }) - .wait(ctx); + .spawn(ctx); } ws::Message::Binary(_bin) => info!("Unexpected binary"), ws::Message::Close(_) => {