-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addresses #5290. The issue was a deadlock when handling the `show_help_topic` request when it tries to send the `show_help` event, since both `PositronComm.on_msg` and `send_event` acquire the same lock. @wesm IIUC the purpose was to allow delaying a `send_event` call in a separate thread until after the message handler completes. I think both cases are solved by using a reentrant lock (`RLock()`). ### QA Notes F1 should work again in Python.
- Loading branch information
Showing
2 changed files
with
45 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters