Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b03cebd1a4c2df50737c3c15d1bd31612f4d528b
https://github.com/WebKit/WebKit/commit/b03cebd1a4c2df50737c3c15d1bd31612f4d528b
Author: Youenn Fablet <[email protected]>
Date: 2025-04-15 (Tue, 15 Apr 2025)
Changed paths:
M Source/WebCore/workers/service/server/SWServer.cpp
M Source/WebCore/workers/service/server/SWServer.h
M Source/WebKit/NetworkProcess/NetworkSession.cpp
Log Message:
-----------
SWServer can create its background fetch engine within its destructor
rdar://145610350
https://bugs.webkit.org/show_bug.cgi?id=291516
Reviewed by Chris Dumez.
SWServer can be destroyed as part of NetworkSession destructor.
But the background fetch engine can be created at that time when clearing a
registration.
To prevent this, we are now closing the SWServer when the NetworkSession is
destroyed.
* Source/WebCore/workers/service/server/SWServer.cpp:
(WebCore::SWServer::~SWServer):
(WebCore::SWServer::close):
* Source/WebCore/workers/service/server/SWServer.h:
* Source/WebKit/NetworkProcess/NetworkSession.cpp:
(WebKit::NetworkSession::invalidateAndCancel):
Canonical link: https://commits.webkit.org/293721@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes