mirror of
https://github.com/actix/actix-web.git
synced 2025-04-10 20:04:05 +00:00
chore: Clone the ws codec in actix-web-actors
This commit is contained in:
parent
3cc8490c82
commit
4e534a158b
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ where
|
|||
inner: ContextParts::new(mb.sender_producer()),
|
||||
messages: VecDeque::new(),
|
||||
};
|
||||
ctx.add_stream(WsStream::new(stream, codec));
|
||||
ctx.add_stream(WsStream::new(stream, codec.clone()));
|
||||
|
||||
WebsocketContextFut::new(ctx, actor, mb, codec)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue