mount: avoid "send on closed channel"
This commit is contained in:
@@ -186,6 +186,7 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) err
|
||||
}
|
||||
|
||||
// stop the goroutine
|
||||
fh.dirtyPages.chunkSaveErrChanClosed = true
|
||||
close(fh.dirtyPages.chunkSaveErrChan)
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user