Skip to content

Commit

Permalink
Merge pull request #168 from linkeo/master
Browse files Browse the repository at this point in the history
Make it worker_thread compatible
  • Loading branch information
yanyiwu committed Nov 12, 2020
2 parents 6ccf882 + 9bce6a6 commit d9141c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ void init(Local<Object> exports) {
Nan::GetFunction(Nan::New<FunctionTemplate>(insertWord)).ToLocalChecked());
}

NODE_MODULE(nodejieba, init)
NAN_MODULE_WORKER_ENABLED(nodejieba, init)

0 comments on commit d9141c3

Please sign in to comment.