Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Be more clear about null arguments in abort handler
  • Loading branch information
maxhfisher committed Aug 6, 2026
commit 8b881e0ab28caa2b8fb86fb9b57a06ab8856e388
1 change: 1 addition & 0 deletions src/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,7 @@ NODE_EXTERN void DefaultProcessExitHandler(Environment* env, int exit_code);
// handler is called regardless of whether or not it returns. Passing nullptr
// restores the default handler. This is process-global and may be invoked
// before any Isolate or Environment exists.
// N.B. location and message can be null
using AbortHandler = void (*)(const char* location, const char* message);
NODE_EXTERN void SetAbortHandler(AbortHandler handler);

Expand Down