Skip to content

Commit 26e6341

Browse files
committed
Fix nwjs#6539: Update thread name to use Node message loop
1 parent 2cf20e5 commit 26e6341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/nw_extensions_renderer_hooks.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void WebWorkerNewThreadHook(const char* name, base::Thread::Options* options) {
132132
*base::CommandLine::ForCurrentProcess();
133133
if (!command_line.HasSwitch(switches::kEnableNodeWorker))
134134
return;
135-
if (!strcmp(name, "DedicatedWorker Thread") || !strcmp(name, "SharedWorker Thread"))
135+
if (!strcmp(name, "DedicatedWorker thread") || !strcmp(name, "SharedWorker thread"))
136136
options->message_loop_type = base::MessageLoop::TYPE_NODE;
137137
}
138138

0 commit comments

Comments
 (0)