demos: vkDestroySemaphore only after it is unused.

Semaphores should not be destroyed when in use.
Call vkQueueWaitIdle before calling vkDestroySemaphore.
2 files changed