mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-17 03:20:54 +00:00
🐛 fix bug and improve test coverage
This commit is contained in:
@ -21,7 +21,7 @@ async def matcher_mutex(event: Event) -> Generator[bool, None, None]:
|
||||
else:
|
||||
_running_matcher[session_id] = current_event_id
|
||||
yield result
|
||||
if result:
|
||||
if not result:
|
||||
del _running_matcher[session_id]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user