Skip to content

Commit

Permalink
Merge pull request #67 from laverdet/master
Browse files Browse the repository at this point in the history
Fix missing HandleScope in callback
  • Loading branch information
TooTallNate committed Jan 4, 2016
2 parents a30b570 + fda35ae commit b3a6cd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/weakref.cc
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ NAN_PROPERTY_ENUMERATOR(WeakPropertyEnumerator) {
*/

static void TargetCallback(const Nan::WeakCallbackInfo<proxy_container> &info) {
Nan::HandleScope scope;
proxy_container *cont = info.GetParameter();

// invoke global callback function
Expand Down

0 comments on commit b3a6cd1

Please sign in to comment.