diff --git a/tractor/_portal.py b/tractor/_portal.py index d32f26b..c3a4340 100644 --- a/tractor/_portal.py +++ b/tractor/_portal.py @@ -218,8 +218,6 @@ class Portal: log.cancel("This portal is already closed can't cancel") return False - await self._cancel_streams() - log.cancel( f"Sending actor cancel request to {self.channel.uid} on " f"{self.channel}") diff --git a/tractor/_spawn.py b/tractor/_spawn.py index 04c1008..c7eb2d2 100644 --- a/tractor/_spawn.py +++ b/tractor/_spawn.py @@ -203,7 +203,6 @@ async def soft_wait( # which will kill any waiting remote pdb trace). # This is a "soft" (cancellable) join/reap. try: - # await proc.wait() await wait_func(proc) except trio.Cancelled: # if cancelled during a soft wait, cancel the child