VulkanExamples
VulkanExamples copied to clipboard
Deletion does not check for null handles before destruction
If you call new on an Example and then delete it without calling run it will attempt to delete a bunch of resources that are allocated during run (specificity prepare()).
Putting if checks around all the destroy calls fixes this.