diff --git a/src/Task.cpp b/src/Task.cpp index 9eced356..ff696a73 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -104,6 +104,8 @@ Task::Task() { } Task::~Task() { + _exportObject.Reset(); + { v8::Isolate::Scope isolateScope(_isolate); v8::HandleScope handleScope(_isolate);