Fix tokio raw_stream

This commit is contained in:
Noah 2021-03-31 15:45:09 -05:00 committed by Jeff Hiner
parent fda0701a7c
commit 99a025e464

View file

@ -602,6 +602,7 @@ mod tokio_stream {
}
self.device.get_mut().event_buf.clear();
self.index = 0;
loop {
let mut guard = ready!(self.device.poll_read_ready_mut(cx))?;