[webkit-changes] [WebKit/WebKit] 3810b6: ASSERTION FAILED: isMainRunLoop() under RemoteRend...
Chris Dumez
noreply at github.com
Wed May 3 15:48:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3810b677d2dc90c832bbace431c2d6e8142639a7
https://github.com/WebKit/WebKit/commit/3810b677d2dc90c832bbace431c2d6e8142639a7
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-05-03 (Wed, 03 May 2023)
Changed paths:
M Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp
Log Message:
-----------
ASSERTION FAILED: isMainRunLoop() under RemoteRenderingBackend::releaseRemoteGPU()
https://bugs.webkit.org/show_bug.cgi?id=256272
Reviewed by Matt Woodrow.
RemoteRenderingBackend::releaseRemoteGPU() runs off the main thread and was calling
tryExitIfUnusedAndUnderMemoryPressure() on this same thread, which wasn't safe and
would hit an assertion in debug. Make sure we dispatch to the main thread before
calling tryExitIfUnusedAndUnderMemoryPressure().
* Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp:
(WebKit::RemoteRenderingBackend::releaseRemoteGPU):
Canonical link: https://commits.webkit.org/263655@main
More information about the webkit-changes
mailing list