"Memory block wasn't deallocated" is printed when exiting Zed builds on Linux
mikayla-maki opened this issue · comments
A little sleuthing reveals that this error comes from the gpu_alloc
crate, and is run when it's MemoryBlock
type is dropped without calling MemoryBlock::deallocate
. Probably because the MemoryManager
in blade-graphics/src/vulkan/mod.rs
isn't being cleared in this case.