-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lsp: Use Thread instead of Process for Preview Server (#837)
* Preview process: Replaced Process with Thread if running on Python 3.12+ * More meaningfull variable name + add type hints * Fixed types + store the HTTPServer to call shutdown() later * Removed unused imports * Removed unused line * Removed useless type wrapper * Restored terminate() call if Process does not have kill() * Removed Process part, fully replaced with Thread * Added changelog to track the issue * Updated preview_server docstring
- Loading branch information
Showing
2 changed files
with
14 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Changed the preview server to use a Thread instead of a Process to prevent deadlocks on certain systems by @Nitorac |
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