From edffd5e36744d9c071be15a2f93b7ba07798b5a5 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 15 Jul 2025 17:31:08 -0400 Subject: [PATCH] Set `Channel._cancel_called` via `chan` var In `Portal.cancel_actor()` that is, at the least to make it easier to ref search from an editor Bp --- tractor/_portal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tractor/_portal.py b/tractor/_portal.py index 5729edd4..69133528 100644 --- a/tractor/_portal.py +++ b/tractor/_portal.py @@ -300,7 +300,7 @@ class Portal: ) # XXX the one spot we set it? - self.channel._cancel_called: bool = True + chan._cancel_called: bool = True try: # send cancel cmd - might not get response # XXX: sure would be nice to make this work with