summaryrefslogtreecommitdiff
path: root/src/node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.cc')
-rw-r--r--src/node.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node.cc b/src/node.cc
index a67c30bb01..2d23ce6755 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -856,7 +856,9 @@ inline int StartNodeWithIsolate(Isolate* isolate,
WaitForInspectorDisconnect(&env);
+#if HAVE_INSPECTOR && NODE_USE_V8_PLATFORM
exit:
+#endif
env.set_can_call_into_js(false);
env.stop_sub_worker_contexts();
uv_tty_reset_mode();