Changing wait to spawn in websocket.
This commit is contained in:
parent
b2a89cd217
commit
313d023eef
1 changed files with 1 additions and 1 deletions
|
@ -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(_) => {
|
||||
|
|
Reference in a new issue