mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-29 22:42:52 +00:00
LibWeb+WebWorker: Add IPC messages to request and communicate shutdown
This commit is contained in:
parent
5d8784318d
commit
27ef9ffa8f
Notes:
sideshowbarker
2024-07-17 04:01:41 +09:00
Author: https://github.com/ADKaster
Commit: 27ef9ffa8f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/543
6 changed files with 25 additions and 0 deletions
|
@ -14,6 +14,12 @@ void WebWorkerClient::die()
|
|||
// FIXME: Notify WorkerAgent that the worker is ded
|
||||
}
|
||||
|
||||
void WebWorkerClient::did_close_worker()
|
||||
{
|
||||
if (on_worker_close)
|
||||
on_worker_close();
|
||||
}
|
||||
|
||||
WebWorkerClient::WebWorkerClient(NonnullOwnPtr<Core::LocalSocket> socket)
|
||||
: IPC::ConnectionToServer<WebWorkerClientEndpoint, WebWorkerServerEndpoint>(*this, move(socket))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue