mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 08:14:20 +00:00
Remove the call to vkDeviceWaitIdle in Device::drop (#743)
This commit is contained in:
parent
3b8657869a
commit
855fa26496
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user