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
e73167ad
Unverified
Commit
e73167ad
authored
Mar 14, 2025
by
Lianmin Zheng
Committed by
GitHub
Mar 14, 2025
Browse files
Fix maximum recursion depth triggered on exception exit (#4438)
parent
862fe522
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
python/sglang/srt/utils.py
python/sglang/srt/utils.py
+3
-0
No files found.
python/sglang/srt/utils.py
View file @
e73167ad
...
...
@@ -527,6 +527,9 @@ def kill_process_tree(parent_pid, include_parent: bool = True, skip_pid: int = N
pass
if
include_parent
:
if
parent_pid
==
os
.
getpid
():
sys
.
exit
(
0
)
try
:
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