mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +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:
committed by
Alexander Kalenik
parent
3dea602d92
commit
4cc3d598f9
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user