Skip to content

Commit b84c0d0

Browse files
src: fix kill signal 0 on Windows
This special case was missed in the previous changes to this file. Refs: #55514 Refs: #42923 Fixes: #57669
1 parent b4280ef commit b84c0d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/process_wrap.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ class ProcessWrap : public HandleWrap {
385385
}
386386
#ifdef _WIN32
387387
if (signal != SIGKILL && signal != SIGTERM && signal != SIGINT &&
388-
signal != SIGQUIT) {
388+
signal != SIGQUIT && signal != 0) {
389389
signal = SIGKILL;
390390
}
391391
#endif

0 commit comments

Comments
 (0)