LibWebView: Ignore ImageDecoder death during process shutdown

This commit is contained in:
Timothy Flynn 2025-08-09 12:21:21 -04:00 committed by Andreas Kling
commit e421c233a6
Notes: github-actions[bot] 2025-08-10 09:04:25 +00:00

View file

@ -389,6 +389,9 @@ ErrorOr<void> 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();