mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWebView: Ignore ImageDecoder death during process shutdown
This commit is contained in:
parent
58f5fe7d79
commit
e421c233a6
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user