mirror of
https://github.com/walles/moar.git
synced 2024-11-22 03:14:56 +03:00
Fix a test failure on Windows
This commit is contained in:
parent
0091a15268
commit
c89cecddd8
@ -41,6 +41,7 @@ func (r *interruptableReaderImpl) Read(p []byte) (n int, err error) {
|
||||
|
||||
if r.shutdownRequested.Load() {
|
||||
err = io.EOF
|
||||
n = 0
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user