diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go index 43991376b..c7051c961 100644 --- a/weed/filesys/filehandle.go +++ b/weed/filesys/filehandle.go @@ -183,6 +183,9 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) err fh.f.wfs.ReleaseHandle(fh.f.fullpath(), fuse.HandleID(fh.handle)) } + // stop the goroutine + close(fh.dirtyPages.chunkSaveErrChan) + return nil }