From 422205490301154f14a2913edd5aa9d5c2846a9f Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 1 Mar 2017 19:55:23 -0800 Subject: [PATCH] nameplate: tolerate rx_claimed during shutdown --- src/wormhole/_nameplate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wormhole/_nameplate.py b/src/wormhole/_nameplate.py index 8e25801..a33cdde 100644 --- a/src/wormhole/_nameplate.py +++ b/src/wormhole/_nameplate.py @@ -133,6 +133,7 @@ class Nameplate(object): S4A.upon(connected, enter=S4B, outputs=[RC_tx_release]) S4A.upon(close, enter=S4A, outputs=[]) S4B.upon(lost, enter=S4A, outputs=[]) + S4B.upon(rx_claimed, enter=S4B, outputs=[]) S4B.upon(rx_released, enter=S5B, outputs=[T_nameplate_done]) S4B.upon(release, enter=S4B, outputs=[]) # mailbox is lazy # Mailbox doesn't remember how many times it's sent a release, and will