Skip to content

Commit

Permalink
fix: fixed worker thread issue per <nodejs/node#21783> (closes #19) (#20
Browse files Browse the repository at this point in the history
)

Great stuff 👍
  • Loading branch information
niftylettuce committed Aug 14, 2020
1 parent c6c25be commit 57edc14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/NativeExtension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ NAN_MODULE_INIT(InitAll) {
Nan::GetFunction(Nan::New<FunctionTemplate>(Stemword)).ToLocalChecked());
}

NODE_MODULE(NativeExtension, InitAll)
NODE_MODULE_INIT() {
InitAll(exports);
}

0 comments on commit 57edc14

Please sign in to comment.