From af574c9da4123ff5d2f946fd63633f977be3ffcf Mon Sep 17 00:00:00 2001 From: zosimovaa Date: Mon, 9 Mar 2026 19:43:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=BE=D0=B2=D1=8B=D0=B5=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=B2=20=D1=80=D0=B0=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D0=B9=D0=BC=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app_runtime/core/runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app_runtime/core/runtime.py b/src/app_runtime/core/runtime.py index c5f48e6..9ccf539 100644 --- a/src/app_runtime/core/runtime.py +++ b/src/app_runtime/core/runtime.py @@ -90,7 +90,7 @@ class RuntimeManager: async def start_runtime(self) -> str: if self._started: return "runtime already running" - if self.workers.lifecycle_state() == LifecycleState.STOPPING: + if self._state == LifecycleState.STOPPING: return "runtime is stopping" self.start(start_control_plane=False) return "runtime started"