Fix tokio raw_stream
This commit is contained in:
parent
fda0701a7c
commit
99a025e464
1 changed files with 1 additions and 0 deletions
|
@ -602,6 +602,7 @@ mod tokio_stream {
|
||||||
}
|
}
|
||||||
|
|
||||||
self.device.get_mut().event_buf.clear();
|
self.device.get_mut().event_buf.clear();
|
||||||
|
self.index = 0;
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let mut guard = ready!(self.device.poll_read_ready_mut(cx))?;
|
let mut guard = ready!(self.device.poll_read_ready_mut(cx))?;
|
||||||
|
|
Loading…
Reference in a new issue