🐛 fix receive reject

This commit is contained in:
yanyongyu 2021-11-25 20:42:48 +08:00
parent 29f14a20ce
commit 030237fe22

View File

@ -431,6 +431,7 @@ class Matcher(metaclass=MatcherMeta):
if state.get(_receive): if state.get(_receive):
return return
state[_receive] = True state[_receive] = True
del state["_current_key"]
raise RejectedException raise RejectedException
def _decorator(func: T_Handler) -> T_Handler: def _decorator(func: T_Handler) -> T_Handler: