Changing wait to spawn in websocket.

This commit is contained in:
Dessalines 2020-04-22 00:29:25 -04:00
parent b2a89cd217
commit 313d023eef

View File

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