diff options
Diffstat (limited to 'src/node_worker.cc')
-rw-r--r-- | src/node_worker.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node_worker.cc b/src/node_worker.cc index c93584c68c..7de9c355f6 100644 --- a/src/node_worker.cc +++ b/src/node_worker.cc @@ -329,6 +329,9 @@ void Worker::Run() { if (exit_code_ == 0 && !stopped) exit_code_ = exit_code; +#if HAVE_INSPECTOR + profiler::EndStartedProfilers(env_.get()); +#endif Debug(this, "Exiting thread for worker %llu with exit code %d", thread_id_, exit_code_); } |