Skip to content

Commit e46a0ca

Browse files
committed
make module context aware
1 parent 1f81bf3 commit e46a0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iohook.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,4 +564,4 @@ NAN_MODULE_INIT(Init) {
564564
Nan::GetFunction(Nan::New<FunctionTemplate>(GrabMouseClick)).ToLocalChecked());
565565
}
566566

567-
NODE_MODULE(nodeHook, Init)
567+
NAN_MODULE_WORKER_ENABLED(nodeHook, Init)

0 commit comments

Comments
 (0)