We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f73931 commit 6b0f602Copy full SHA for 6b0f602
monoio/src/driver/uring/mod.rs
@@ -583,6 +583,8 @@ impl Drop for IoUringDriver {
583
584
impl Drop for UringInner {
585
fn drop(&mut self) {
586
+ // no need to wait for completion, as the kernel will clean up the ring asynchronically.
587
+ let _ = self.uring.submitter().submit();
588
unsafe {
589
ManuallyDrop::drop(&mut self.uring);
590
}
0 commit comments