summaryrefslogtreecommitdiff
path: root/src/node_worker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_worker.cc')
-rw-r--r--src/node_worker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_worker.cc b/src/node_worker.cc
index 8730e8b02b..b35b4040ca 100644
--- a/src/node_worker.cc
+++ b/src/node_worker.cc
@@ -325,7 +325,7 @@ void Worker::Run() {
{
env_->InitializeDiagnostics();
#if HAVE_INSPECTOR
- env_->InitializeInspector(inspector_parent_handle_.release());
+ env_->InitializeInspector(std::move(inspector_parent_handle_));
#endif
HandleScope handle_scope(isolate_);
InternalCallbackScope callback_scope(