diff options
author | 2017-04-04 13:43:49 -0700 | |
---|---|---|
committer | 2017-04-04 13:55:00 -0700 | |
commit | 130568e5151ed468d8b40362272104c10aa6488e (patch) | |
tree | 18bc3d6d91b739d9bcea57134a322fe22a6a54c9 /src/node/ext/call.h | |
parent | 81ff57f1c380ca7c8a727241beec5f9e7183a3fa (diff) |
Fix call destruction bug
Diffstat (limited to 'src/node/ext/call.h')
-rw-r--r-- | src/node/ext/call.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/node/ext/call.h b/src/node/ext/call.h index cffff00fce..cceec9c45b 100644 --- a/src/node/ext/call.h +++ b/src/node/ext/call.h @@ -109,11 +109,14 @@ class Op { typedef std::vector<unique_ptr<Op>> OpVec; struct tag { - tag(Nan::Callback *callback, OpVec *ops, Call *call); + tag(Nan::Callback *callback, OpVec *ops, Call *call, + v8::Local<v8::Value> call_value); ~tag(); Nan::Callback *callback; OpVec *ops; Call *call; + Nan::Persistent<v8::Value, Nan::CopyablePersistentTraits<v8::Value>> + call_persist; }; v8::Local<v8::Value> GetTagNodeValue(void *tag); |