Patrick Schmidt
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
weed/mount/filehandle.go
|
@ -110,7 +110,8 @@ func (fh *FileHandle) AddChunks(chunks []*filer_pb.FileChunk) { |
|
|
|
|
|
|
|
|
func (fh *FileHandle) CloseReader() { |
|
|
func (fh *FileHandle) CloseReader() { |
|
|
if fh.reader != nil { |
|
|
if fh.reader != nil { |
|
|
fh.reader.Close() |
|
|
|
|
|
|
|
|
_ = fh.reader.Close() |
|
|
|
|
|
fh.reader = nil |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|