diff --git a/Userland/Services/WebWorker/ConnectionFromClient.cpp b/Userland/Services/WebWorker/ConnectionFromClient.cpp index 72fb2fdc90..9087912a65 100644 --- a/Userland/Services/WebWorker/ConnectionFromClient.cpp +++ b/Userland/Services/WebWorker/ConnectionFromClient.cpp @@ -12,7 +12,9 @@ namespace WebWorker { void ConnectionFromClient::die() { - // FIXME: Do something here (shutdown process/script gracefully?) + // FIXME: When handling multiple workers in the same process, + // this logic needs to be smarter (only when all workers are dead, etc). + Core::EventLoop::current().quit(0); } void ConnectionFromClient::request_file(Web::FileRequest request)