Prevent crash when trying to release buffer from already destroyed memory pool
This commit is contained in:
@@ -98,6 +98,7 @@ namespace OpenVulkano::Vulkan
|
||||
{
|
||||
transferQueue.waitIdle();
|
||||
transferQueue = nullptr;
|
||||
OnShutdown(this); // Notify all custom resources that it's time to die
|
||||
geometries.clear();
|
||||
nodes.clear();
|
||||
textures.clear();
|
||||
|
||||
Reference in New Issue
Block a user