[webkit-changes] [WebKit/WebKit] 8ced70: WorkerDedicatedRunLoop performs work outside of an...
bnham
noreply at github.com
Fri Jan 5 11:56:18 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8ced70855b0027f1af965cfc723563a1cafedc24
https://github.com/WebKit/WebKit/commit/8ced70855b0027f1af965cfc723563a1cafedc24
Author: Ben Nham <nham at apple.com>
Date: 2024-01-05 (Fri, 05 Jan 2024)
Changed paths:
M Source/WebCore/workers/WorkerRunLoop.cpp
Log Message:
-----------
WorkerDedicatedRunLoop performs work outside of an autorelease pool
https://bugs.webkit.org/show_bug.cgi?id=267104
rdar://119336173
Reviewed by Youenn Fablet.
We've gotten some os_log_fault logs which seem to indicate that WorkerDedicatedRunLoop is missing
the appropriate calls to push/pop autorelease pools. Fix this by adding an autorelease pool to
`WorkerDedicatedRunLoop::runInMode`.
* Source/WebCore/workers/WorkerRunLoop.cpp:
(WebCore::WorkerDedicatedRunLoop::runInMode):
Canonical link: https://commits.webkit.org/272700@main
More information about the webkit-changes
mailing list