mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWebView: Ignore ImageDecoder death during process shutdown
This commit is contained in:
parent
58f5fe7d79
commit
e421c233a6
Notes:
github-actions[bot]
2025-08-10 09:04:25 +00:00
Author: https://github.com/trflynn89
Commit: e421c233a6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5796
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue