Files
Abel Lucas 3302d5072d wgpu-core: a destroyed buffer that is mapped keeps its raw buffer until it drops
`Buffer::destroy` freed the raw buffer of a buffer that was still mapped. So did
`release_gpu_resources`, which runs `destroy` on every buffer when a device is lost or destroyed.
The mapped pointer, and a `BufferView` over it, then read freed memory.

A buffer that is mapped when it is destroyed now keeps what `destroy` took from it, and frees it
when the buffer drops. The buffer is destroyed in every other way: it has no raw buffer to use, and
`unmap` still reports it as destroyed.
2026-10-26 19:17:54 +01:00
..
2026-04-09 13:11:04 -07:00
2025-10-01 19:36:18 -04:00
2025-10-01 19:36:18 -04:00