Skip to content

Conversation

lexthink
Copy link

During the handling of a message, if an exception is raised, _is_processing_a_message is not reset to False, which can cause issues with subsequent message handling. This PR introduces a try/finally block to ensure _is_processing_a_message is always reset appropriately, even in the presence of exceptions.

@AFU92
Copy link

AFU92 commented Oct 23, 2023

Good catch @lexthink 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants