(self)
Stops the actor immediately without processing the rest of the inbox.
Stops the actor immediately without processing the rest of the inbox.
Stops the actor immediately without processing the rest of the inbox .
def _stop(self):
        """
        Stops the actor immediately without processing the rest of the inbox.
        """
        ActorRegistry.unregister(self.actor_ref)
        self.actor_stopped.set()
        logger.debug(f"Stopped {self}")
        try:
            self.on_stop()
        except Exception:
            self._handle_failure(*sys.exc_info())
def _stop ( self ) : ActorRegistry . unregister ( self . actor_ref ) self . actor_stopped . set ( ) logger . debug ( f"Stopped {self}" ) try : self . on_stop ( ) except Exception : self . _handle_failure ( * sys . exc_info ( ) )