Always shield de-register step with arbiter
parent
3a868fec30
commit
ae8488a578
|
@ -678,9 +678,9 @@ class Actor:
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
if registered_with_arbiter:
|
if registered_with_arbiter:
|
||||||
# with trio.move_on_after(3) as cs:
|
with trio.move_on_after(3) as cs:
|
||||||
# cs.shield = True
|
cs.shield = True
|
||||||
await self._do_unreg(self._arb_addr)
|
await self._do_unreg(self._arb_addr)
|
||||||
|
|
||||||
# terminate actor once all it's peers (actors that connected
|
# terminate actor once all it's peers (actors that connected
|
||||||
# to it as clients) have disappeared
|
# to it as clients) have disappeared
|
||||||
|
|
Loading…
Reference in New Issue