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

@@ -310,6 +310,8 @@ AndroidWebGPURendererBackend::AndroidWebGPURendererBackend(ANativeWindow* window
}
AndroidWebGPURendererBackend::~AndroidWebGPURendererBackend() {
context.reset();
if (impl) {
if (impl->currentTextureView) {
wgpuTextureViewRelease(impl->currentTextureView);