Skip to content

Commit

Permalink
doc: fix typo in TypedThreadSafeFunction example (nodejs#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Oct 4, 2021
1 parent b70acdd commit cb22841
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/typed_threadsafe_function.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ Value Start(const CallbackInfo &info) {

int count = info[1].As<Number>().Int32Value();

// Create a new context set to the the receiver (ie, `this`) of the function
// call
// Create a new context set to the receiver (ie, `this`) of the function call
Context *context = new Reference<Value>(Persistent(info.This()));

// Create a ThreadSafeFunction
Expand Down

0 comments on commit cb22841

Please sign in to comment.