Skip to content

Commit

Permalink
Update BunProcess.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Dec 13, 2024
1 parent 6cef3dc commit a61e0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bun.js/bindings/BunProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ void signalHandler(uv_signal_t* signal, int signalNumber)
return;
// signal handlers can be run on any thread
context->postTaskConcurrently([signalNumber](ScriptExecutionContext& context) {
Bun__onSignalForJS(signalNumber, context.jsGlobalObject());
Bun__onSignalForJS(signalNumber, jsCast<Zig::GlobalObject*>(context.jsGlobalObject()));
});
#else

Expand Down

0 comments on commit a61e0fb

Please sign in to comment.