From a0874dc870ea5746c33165c56532480670d55492 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 5 Jun 2024 07:09:39 +0200 Subject: [PATCH] LibWebView: Remove ProcessManager debug spam --- Userland/Libraries/LibWebView/ProcessManager.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Userland/Libraries/LibWebView/ProcessManager.cpp b/Userland/Libraries/LibWebView/ProcessManager.cpp index e915d68941b..85dc45de1ce 100644 --- a/Userland/Libraries/LibWebView/ProcessManager.cpp +++ b/Userland/Libraries/LibWebView/ProcessManager.cpp @@ -99,7 +99,6 @@ ProcessInfo* ProcessManager::find_process(pid_t pid) void ProcessManager::add_process(ProcessType type, pid_t pid) { Threading::MutexLocker locker { m_lock }; - dbgln("ProcessManager::add_process({}, {})", process_name_from_type(type), pid); if (auto* existing_process = find_process(pid)) { existing_process->type = type; return; @@ -111,7 +110,6 @@ void ProcessManager::add_process(ProcessType type, pid_t pid) void ProcessManager::add_process(pid_t pid, Core::MachPort&& port) { Threading::MutexLocker locker { m_lock }; - dbgln("ProcessManager::add_process({}, {:p})", pid, port.port()); if (auto* existing_process = find_process(pid)) { existing_process->child_task_port = move(port); return; @@ -125,8 +123,6 @@ void ProcessManager::remove_process(pid_t pid) Threading::MutexLocker locker { m_lock }; m_statistics.processes.remove_first_matching([&](auto const& info) { if (info->pid == pid) { - auto type = verify_cast(*info).type; - dbgln("ProcessManager: Remove process {} ({})", process_name_from_type(type), pid); return true; } return false;