Remove the call to vkDeviceWaitIdle in Device::drop (#743)

This commit is contained in:
tomaka 2017-08-16 10:13:54 +02:00 committed by GitHub
parent 3b8657869a
commit 855fa26496

View File

@ -480,7 +480,6 @@ impl Drop for Device {
for &raw_event in self.event_pool.lock().unwrap().iter() {
self.vk.DestroyEvent(self.device, raw_event, ptr::null());
}
self.vk.DeviceWaitIdle(self.device);
self.vk.DestroyDevice(self.device, ptr::null());
}
}