Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Commit 7d6647f

Browse files
committed
fix: deno runtime controller not handling undefined child process reference correctly
RocketChat/Rocket.Chat#33494
1 parent b52f824 commit 7d6647f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/runtime/deno/AppsEngineDenoRuntime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export class DenoRuntimeSubprocessController extends EventEmitter {
215215

216216
public async getStatus(): Promise<AppStatus> {
217217
// If the process has been terminated, we can't get the status
218-
if (this.deno.exitCode !== null) {
218+
if (!this.deno || this.deno.exitCode !== null) {
219219
return AppStatus.UNKNOWN;
220220
}
221221

0 commit comments

Comments
 (0)