Forget our problems (#2541)

This commit is contained in:
Dániel Buga 2024-11-14 16:30:48 +01:00 committed by GitHub
parent d68550c485
commit c6404fe569
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,6 +287,7 @@ where
self.i2s.instance.tx_wait_done();
let i2s = unsafe { ManuallyDrop::take(&mut self.i2s) };
let view = unsafe { ManuallyDrop::take(&mut self.buf_view) };
core::mem::forget(self);
(i2s, BUF::from_view(view))
}