From c5341017cdb3d8637f3bd6a73ae4524143513440 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Tue, 23 Jan 2018 15:39:53 -0800 Subject: [PATCH] fix typo --- src/ws/context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ws/context.rs b/src/ws/context.rs index 33f6f696..77d8a8ae 100644 --- a/src/ws/context.rs +++ b/src/ws/context.rs @@ -58,8 +58,8 @@ impl AsyncContext for WebsocketContext where A: Actor 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 {