Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: eb4391211130e05e43618123a6cb66d789b3c238
https://github.com/WebKit/WebKit/commit/eb4391211130e05e43618123a6cb66d789b3c238
Author: Sihui Liu <[email protected]>
Date: 2026-01-15 (Thu, 15 Jan 2026)
Changed paths:
M Source/WebCore/workers/service/server/SWServer.cpp
M Source/WebCore/workers/service/server/SWServer.h
Log Message:
-----------
Ensure callbacks are invoked when SWServer is closed
https://bugs.webkit.org/show_bug.cgi?id=305537
rdar://168195990
Reviewed by Per Arne Vollan.
SWServer might be destroyed without invoking stored callbacks. The patch fixes
that issue and switches to use
CompletionHandler for callback.
* Source/WebCore/workers/service/server/SWServer.cpp:
(WebCore::SWServer::close):
(WebCore::SWServer::getOriginsWithRegistrations):
* Source/WebCore/workers/service/server/SWServer.h:
Canonical link: https://commits.webkit.org/305669@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications