1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-26 19:41:12 +00:00
This commit is contained in:
Nikolay Kim 2018-01-23 15:39:53 -08:00
parent f4873fcdee
commit c5341017cd

View file

@ -58,8 +58,8 @@ impl<A, S> AsyncContext<A> for WebsocketContext<A, S> where A: Actor<Context=Sel
#[doc(hidden)]
#[inline]
fn waiting(&self) -> bool {
self.inner.wating() || self.inner.start() == ActorState::Stopping ||
self.inner.start() == ActorState::Stopped
self.inner.wating() || self.inner.state() == ActorState::Stopping ||
self.inner.state() == ActorState::Stopped
}
fn cancel_future(&mut self, handle: SpawnHandle) -> bool {