Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
60524920
"docs/vscode:/vscode.git/clone" did not exist on "51f498e74f0ef654577fd3e9ded36272bea82334"
Unverified
Commit
60524920
authored
Feb 26, 2025
by
Kebe
Committed by
GitHub
Feb 25, 2025
Browse files
[Bug]: Fix maximum recursion depth triggered on exception exit (#3519)
parent
10771026
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
python/sglang/srt/utils.py
python/sglang/srt/utils.py
+10
-7
No files found.
python/sglang/srt/utils.py
View file @
60524920
...
@@ -499,6 +499,9 @@ def kill_process_tree(parent_pid, include_parent: bool = True, skip_pid: int = N
...
@@ -499,6 +499,9 @@ def kill_process_tree(parent_pid, include_parent: bool = True, skip_pid: int = N
pass
pass
if
include_parent
:
if
include_parent
:
if
parent_pid
==
os
.
getpid
():
sys
.
exit
(
0
)
else
:
try
:
try
:
itself
.
kill
()
itself
.
kill
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment