Changing wait to spawn in websocket.

pull/744/head
Dessalines 5 years ago
parent b2a89cd217
commit 313d023eef

@ -124,7 +124,7 @@ impl StreamHandler<Result<ws::Message, ws::ProtocolError>> for WSSession {
} }
actix::fut::ready(()) actix::fut::ready(())
}) })
.wait(ctx); .spawn(ctx);
} }
ws::Message::Binary(_bin) => info!("Unexpected binary"), ws::Message::Binary(_bin) => info!("Unexpected binary"),
ws::Message::Close(_) => { ws::Message::Close(_) => {

Loading…
Cancel
Save