From e421c233a6371686b0c2ab8e081ea27d41418b7c Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sat, 9 Aug 2025 12:21:21 -0400 Subject: [PATCH] LibWebView: Ignore ImageDecoder death during process shutdown --- Libraries/LibWebView/Application.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Libraries/LibWebView/Application.cpp b/Libraries/LibWebView/Application.cpp index 84066a656fa..d05902b71ef 100644 --- a/Libraries/LibWebView/Application.cpp +++ b/Libraries/LibWebView/Application.cpp @@ -389,6 +389,9 @@ ErrorOr Application::launch_image_decoder_server() m_image_decoder_client->on_death = [this]() { m_image_decoder_client = nullptr; + if (Core::EventLoop::current().was_exit_requested()) + return; + if (auto result = launch_image_decoder_server(); result.is_error()) { dbgln("Failed to restart image decoder: {}", result.error()); VERIFY_NOT_REACHED();