mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler
This large commit also refactors LibWebView's process handling to use a top-level Application class that uses a new WebView::Process class to encapsulate the IPC-centric nature of each helper process.
This commit is contained in:
parent
3dea602d92
commit
4cc3d598f9
Notes:
sideshowbarker
2024-07-17 06:51:10 +09:00
Author: https://github.com/ADKaster
Commit: 4cc3d598f9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/319
24 changed files with 382 additions and 196 deletions
|
@ -20,9 +20,6 @@ void Client::die()
|
|||
promise->reject(Error::from_string_literal("ImageDecoder disconnected"));
|
||||
}
|
||||
m_pending_decoded_images.clear();
|
||||
|
||||
if (on_death)
|
||||
on_death();
|
||||
}
|
||||
|
||||
NonnullRefPtr<Core::Promise<DecodedImage>> Client::decode_image(ReadonlyBytes encoded_data, Function<ErrorOr<void>(DecodedImage&)> on_resolved, Function<void(Error&)> on_rejected, Optional<Gfx::IntSize> ideal_size, Optional<ByteString> mime_type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue