From 130568e5151ed468d8b40362272104c10aa6488e Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Tue, 4 Apr 2017 13:43:49 -0700 Subject: Fix call destruction bug --- src/node/ext/call.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/node/ext/call.h') 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> OpVec; struct tag { - tag(Nan::Callback *callback, OpVec *ops, Call *call); + tag(Nan::Callback *callback, OpVec *ops, Call *call, + v8::Local call_value); ~tag(); Nan::Callback *callback; OpVec *ops; Call *call; + Nan::Persistent> + call_persist; }; v8::Local GetTagNodeValue(void *tag); -- cgit v1.2.3