diff --git a/Userland/Libraries/LibThreading/BackgroundAction.cpp b/Userland/Libraries/LibThreading/BackgroundAction.cpp index 0f7330c855..a46a5f7482 100644 --- a/Userland/Libraries/LibThreading/BackgroundAction.cpp +++ b/Userland/Libraries/LibThreading/BackgroundAction.cpp @@ -41,8 +41,7 @@ static intptr_t background_thread_func() static void init() { s_all_actions = new Queue>; - s_background_thread = &Threading::Thread::construct(background_thread_func).leak_ref(); - s_background_thread->set_name("Background thread"); + s_background_thread = &Threading::Thread::construct(background_thread_func, "Background Thread"sv).leak_ref(); s_background_thread->start(); }