mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-13 08:15:14 +02:00
fix: verify managed runtime daemon lifecycle
This commit is contained in:
parent
7eb1dd7606
commit
522408af3e
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ export async function startManagedPythonDaemon(
|
|||
if (options.force !== true && status.kind === 'running' && hasFeatures(status.state, features)) {
|
||||
return { status: 'reused', layout, state: status.state, baseUrl: status.baseUrl };
|
||||
}
|
||||
if (status.state) {
|
||||
if ('state' in status && status.state) {
|
||||
await stopRecordedDaemon({ layout, state: status.state, processAlive, killProcess });
|
||||
} else {
|
||||
await removeState(layout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue