diff options
Diffstat (limited to 'src/node_watchdog.h')
-rw-r--r-- | src/node_watchdog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_watchdog.h b/src/node_watchdog.h index 65815e2bcd..77c2d53534 100644 --- a/src/node_watchdog.h +++ b/src/node_watchdog.h @@ -46,11 +46,13 @@ class SigintWatchdog { void Dispose(); v8::Isolate* isolate() { return isolate_; } + bool HasReceivedSignal() { return received_signal_; } void HandleSigint(); private: void Destroy(); v8::Isolate* isolate_; + bool received_signal_; bool destroyed_; }; |