Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3810b677d2dc90c832bbace431c2d6e8142639a7
      
https://github.com/WebKit/WebKit/commit/3810b677d2dc90c832bbace431c2d6e8142639a7
  Author: Chris Dumez <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to