mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 00:21:08 +01:00
fix typo
This commit is contained in:
parent
f4873fcdee
commit
c5341017cd
@ -58,8 +58,8 @@ impl<A, S> AsyncContext<A> for WebsocketContext<A, S> where A: Actor<Context=Sel
|
|||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[inline]
|
#[inline]
|
||||||
fn waiting(&self) -> bool {
|
fn waiting(&self) -> bool {
|
||||||
self.inner.wating() || self.inner.start() == ActorState::Stopping ||
|
self.inner.wating() || self.inner.state() == ActorState::Stopping ||
|
||||||
self.inner.start() == ActorState::Stopped
|
self.inner.state() == ActorState::Stopped
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cancel_future(&mut self, handle: SpawnHandle) -> bool {
|
fn cancel_future(&mut self, handle: SpawnHandle) -> bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user