Skip to content

Commit

Permalink
[GTK][WPE] Destroy AcceleratedSurface when ThreadedCompositor is inva…
Browse files Browse the repository at this point in the history
…lidated

https://bugs.webkit.org/show_bug.cgi?id=288360

Reviewed by Nikolas Zimmermann.

* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::invalidate):

Canonical link: https://commits.webkit.org/290942@main
  • Loading branch information
carlosgcampos committed Feb 24, 2025
1 parent be3dfbb commit 48a664f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ void ThreadedCompositor::invalidate()
m_layerTreeHost = nullptr;
m_surface->willDestroyCompositingRunLoop();
m_compositingRunLoop = nullptr;
m_surface = nullptr;
}

void ThreadedCompositor::suspend()
Expand Down

0 comments on commit 48a664f

Please sign in to comment.