core: clear vulkan allocator handle after destruction (#4302)
This commit is contained in:
@@ -638,6 +638,7 @@ void RendererBackend::destroyResources() {
|
||||
commandPool.reset();
|
||||
|
||||
vmaDestroyAllocator(allocator);
|
||||
allocator = nullptr;
|
||||
|
||||
usingSharedContext ? void(device.release()) : device.reset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user