Commit 65a6e05
committed
src: only block SIGUSR1 when HAVE_INSPECTOR
I'm currently seeing a timeout error for test-signal-handler.js on
macosx when using the following configuration:
./configure --debug --without-ssl && make -j8 test
--without-ssl implies that there will be no inspector but the signal
SIGUSR1 is blocked in PlatformInit just the same. But in this case
never unblocked which is causing the signal to never be delivered to
the handlers in test-signal-handler.js and it loops until it times out.
Not sure if this is the best way of fixing this but hopefully more eyes
on this will help.
PR-URL: #12266
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 1807080 commit 65a6e05
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4074 | 4074 | | |
4075 | 4075 | | |
4076 | 4076 | | |
| 4077 | + | |
4077 | 4078 | | |
4078 | 4079 | | |
4079 | 4080 | | |
4080 | 4081 | | |
| 4082 | + | |
4081 | 4083 | | |
4082 | 4084 | | |
4083 | 4085 | | |
| |||
4092 | 4094 | | |
4093 | 4095 | | |
4094 | 4096 | | |
| 4097 | + | |
4095 | 4098 | | |
| 4099 | + | |
4096 | 4100 | | |
4097 | 4101 | | |
4098 | 4102 | | |
| |||
0 commit comments