mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 02:19:22 +02:00
use actix 0.5.4
This commit is contained in:
@ -204,9 +204,8 @@ impl<A, S> ActorHttpContext for WebsocketContext<A, S> where A: Actor<Context=Se
|
||||
mem::transmute(self as &mut WebsocketContext<A, S>)
|
||||
};
|
||||
|
||||
if (!self.inner.started() || self.inner.started() && self.inner.alive())
|
||||
&& self.inner.poll(ctx).is_err() {
|
||||
return Err(ErrorInternalServerError("error").into())
|
||||
if self.inner.alive() && self.inner.poll(ctx).is_err() {
|
||||
return Err(ErrorInternalServerError("error").into())
|
||||
}
|
||||
|
||||
// frames
|
||||
|
Reference in New Issue
Block a user