synvael/crates
Serkyo 19f79080b1 fix(renderer): correct resource teardown ordering in Drop
Replace ptr::read-based field consumption with Option<T> + take() for
sync primitives, GPU allocations, and the allocator itself. The prior
pattern left bitwise-duplicated values in the original fields, so Rust's
automatic field drop after Drop::drop returned freed the same heap
buffers (Vec backings inside SyncPrimitives) and Allocations twice.

The allocator is now explicitly dropped before destroy_device so its
own Drop impl, which releases vk::DeviceMemory blocks, runs while the
logical device is still valid. Swapchain image views are also now
destroyed before the swapchain, as required by the Vulkan spec.
2026-05-16 19:28:47 +02:00
..
client chore(workspace): fix formatting and clippy warnings 2026-05-16 19:05:53 +02:00
renderer fix(renderer): correct resource teardown ordering in Drop 2026-05-16 19:28:47 +02:00
scripting chore(workspace): enforce missing_docs and resolve all linting violations 2026-05-12 18:52:30 +02:00
server chore(workspace): fix formatting and clippy warnings 2026-05-16 19:05:53 +02:00
shared chore(workspace): fix formatting and clippy warnings 2026-05-16 19:05:53 +02:00