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
parent 58f5fe7d79
commit e421c233a6

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();