Merge pull request #8904 from penpot/ladybenko-wasm-cleanup

 Explicitly call free_gpu_resources on RenderState drop
This commit is contained in:
Elena Torró 2026-04-08 12:13:08 +02:00 committed by GitHub
commit e8e7900911
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3004,3 +3004,9 @@ impl RenderState {
self.viewbox.set_all(zoom, x, y);
}
}
impl Drop for RenderState {
fn drop(&mut self) {
self.gpu_state.context.free_gpu_resources();
}
}