mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-05 04:55:10 +00:00
LibWeb+WebWorker: Add IPC messages to request and communicate shutdown
This commit is contained in:
committed by
Andreas Kling
parent
5d8784318d
commit
27ef9ffa8f
@@ -11,6 +11,16 @@
|
||||
|
||||
namespace WebWorker {
|
||||
|
||||
void ConnectionFromClient::close_worker()
|
||||
{
|
||||
async_did_close_worker();
|
||||
|
||||
// FIXME: Invoke a worker shutdown operation that implements the spec
|
||||
m_worker_host = nullptr;
|
||||
|
||||
die();
|
||||
}
|
||||
|
||||
void ConnectionFromClient::die()
|
||||
{
|
||||
// FIXME: When handling multiple workers in the same process,
|
||||
|
||||
Reference in New Issue
Block a user