提交 d71a864e 编写于 作者: J Jason Simmons 提交者: GitHub

Clear invalid resources from the raster cache when the surface is destroyed (#2821)

上级 83055804
......@@ -75,6 +75,7 @@ void RasterizerDirect::Setup(PlatformView* platform_view,
void RasterizerDirect::Teardown(
base::WaitableEvent* teardown_completion_event) {
platform_view_ = nullptr;
compositor_context_.OnGrContextDestroyed();
teardown_completion_event->Signal();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册