mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-24 06:03:40 +08:00
[Bugfix][V1][Minor] Fix shutting_down flag checking in V1 MultiprocExecutor (#14053)
This commit is contained in:
parent
6a92ff93e1
commit
02296f420d
@ -170,7 +170,7 @@ class MultiprocExecutor(Executor):
|
||||
|
||||
def shutdown(self):
|
||||
"""Properly shut down the executor and its workers"""
|
||||
if getattr(self, 'shutting_down', False):
|
||||
if not getattr(self, 'shutting_down', False):
|
||||
self.shutting_down = True
|
||||
for w in self.workers:
|
||||
w.worker_response_mq = None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user