input/nfs: cancel the pending read operation on seek
This commit is contained in:
parent
58e3b830e9
commit
2576e66a55
|
@ -119,6 +119,10 @@ NfsInputStream::DoSeek(offset_type new_offset)
|
|||
|
||||
next_offset = offset = new_offset;
|
||||
SeekDone();
|
||||
|
||||
if (!IsIdle())
|
||||
CancelRead();
|
||||
|
||||
DoRead();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue