Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

framebinprovider doesn't check if process is already killed #735

Closed
ryanleecode opened this issue Mar 10, 2023 · 0 comments · Fixed by #782
Closed

framebinprovider doesn't check if process is already killed #735

ryanleecode opened this issue Mar 10, 2023 · 0 comments · Fixed by #782
Labels
bug Something is broken

Comments

@ryanleecode
Copy link
Contributor

error: Uncaught TypeError: Child process has already terminated.
    this.env.signal.addEventListener("abort", () => process.kill("SIGINT"))
                                                            ^
    at ChildProcess.kill (ext:runtime/40_process.js:321:13)
    at AbortSignal.<anonymous> (file:///github/workspace/providers/frame/FrameBinProvider.ts:48:61)
    at innerInvokeEventListeners (ext:deno_web/02_event.js:783:7)
    at invokeEventListeners (ext:deno_web/02_event.js:823:5)
    at dispatch (ext:deno_web/02_event.js:692:9)
    at AbortSignal.dispatchEvent (ext:deno_web/02_event.js:1082:12)
    at AbortSignal.[[[signalAbort]]] (ext:deno_web/03_abort_signal.js:92:10)
    at AbortController.abort (ext:deno_web/03_abort_signal.js:165:30)
    at onReady (file:///github/workspace/main.ts:77:16)
    at async Object.onListen (file:///github/workspace/main.ts:63:7)
@ryanleecode ryanleecode added the bug Something is broken label Mar 10, 2023
@robocapi robocapi added this to Capi Mar 10, 2023
@github-project-automation github-project-automation bot moved this to Done in Capi Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something is broken
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant