We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5700e7 commit 0c9c0fbCopy full SHA for 0c9c0fb
module.cc
@@ -235,7 +235,8 @@ void RegisterThread(const FunctionCallbackInfo<Value> &args) {
235
std::lock_guard<std::mutex> lock(threads_mutex);
236
auto found = threads.find(isolate);
237
if (found == threads.end()) {
238
- threads.emplace(isolate, ThreadInfo{thread_name, milliseconds::zero(), ""});
+ threads.emplace(isolate,
239
+ ThreadInfo{thread_name, milliseconds::zero(), ""});
240
// Register a cleanup hook to remove this thread when the isolate is
241
// destroyed
242
node::AddEnvironmentCleanupHook(isolate, Cleanup, isolate);
0 commit comments