VulkanExamples icon indicating copy to clipboard operation
VulkanExamples copied to clipboard

Deletion does not check for null handles before destruction

Open Delwin9999 opened this issue 9 years ago • 0 comments

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.

Delwin9999 avatar Jun 28 '16 16:06 Delwin9999