diff --git a/src/process/OwnedWorkerRuntime.ts b/src/process/OwnedWorkerRuntime.ts index 4bdb302ead..75f98e61cf 100644 --- a/src/process/OwnedWorkerRuntime.ts +++ b/src/process/OwnedWorkerRuntime.ts @@ -97,7 +97,6 @@ export class OwnedWorkerRuntime { #root: PrivateRuntimeRoot | undefined; #cleanupEpoch: OwnedWorkerRuntimeCleanupEpoch | undefined; #supervisor: ProviderProcessSupervisor | undefined; - #processId: number | null = null; #acquisition: Promise | undefined; #cleanupRetryAttempt: Promise | undefined; #stopAttempt: Promise | undefined; @@ -312,7 +311,6 @@ export class OwnedWorkerRuntime { }); this.#inputFailure = undefined; this.#observeStdin(spawned.process.stdin); - this.#processId = spawned.process.pid ?? null; this.#cleanupEpoch.setRunId(spawned.ownership?.runId ?? spawnOptions.runId); this.#supervisor = new ProviderProcessSupervisor( { @@ -357,7 +355,6 @@ export class OwnedWorkerRuntime { } supervisor.dispose(); this.#supervisor = undefined; - this.#processId = null; this.#cleanupEpoch?.setRunId(undefined); return stopped; }