We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4441121 commit bf43bf5Copy full SHA for bf43bf5
src/signal_wrap.cc
@@ -91,7 +91,10 @@ class SignalWrap : public HandleWrap {
91
}
92
93
void Close(v8::Local<v8::Value> close_callback) override {
94
- if (active_) DecreaseSignalHandlerCount(handle_.signum);
+ if (active_) {
95
+ DecreaseSignalHandlerCount(handle_.signum);
96
+ active_ = false;
97
+ }
98
HandleWrap::Close(close_callback);
99
100
0 commit comments