File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ class ExternalReferenceRegistry {
72
72
V (serdes) \
73
73
V (string_decoder) \
74
74
V (stream_wrap) \
75
+ V (signal_wrap) \
75
76
V (trace_events) \
76
77
V (timers) \
77
78
V (types) \
Original file line number Diff line number Diff line change 22
22
#include " async_wrap-inl.h"
23
23
#include " env-inl.h"
24
24
#include " handle_wrap.h"
25
+ #include " node_external_reference.h"
25
26
#include " node_process-inl.h"
26
27
#include " util-inl.h"
27
28
#include " v8.h"
@@ -62,6 +63,12 @@ class SignalWrap : public HandleWrap {
62
63
env->SetConstructorFunction (target, " Signal" , constructor);
63
64
}
64
65
66
+ static void RegisterExternalReferences (ExternalReferenceRegistry* registry) {
67
+ registry->Register (New);
68
+ registry->Register (Start);
69
+ registry->Register (Stop);
70
+ }
71
+
65
72
SET_NO_MEMORY_INFO ()
66
73
SET_MEMORY_INFO_NAME (SignalWrap)
67
74
SET_SELF_SIZE (SignalWrap)
@@ -167,3 +174,5 @@ bool HasSignalJSHandler(int signum) {
167
174
168
175
169
176
NODE_MODULE_CONTEXT_AWARE_INTERNAL (signal_wrap, node::SignalWrap::Initialize)
177
+ NODE_MODULE_EXTERNAL_REFERENCE(signal_wrap,
178
+ node::SignalWrap::RegisterExternalReferences)
You can’t perform that action at this time.
0 commit comments