core: Drain WebGPU render-thread cleanup jobs (#4367)

This commit is contained in:
Sargun Vohra
2026-07-24 01:11:26 -07:00
committed by GitHub
parent 15fcee54dc
commit 5bcdc704b8
6 changed files with 16 additions and 5 deletions

View File

@@ -46,7 +46,9 @@ RendererBackend::RendererBackend(const gfx::ContextMode contextMode_)
: gfx::RendererBackend(contextMode_),
impl(std::make_unique<Impl>()) {}
RendererBackend::~RendererBackend() = default;
RendererBackend::~RendererBackend() {
context.reset();
}
void RendererBackend::activate() {
// Activation logic if needed