Browse Source

release the goroutine to read errors

pull/1540/head
Chris Lu 4 years ago
parent
commit
5039aff310
  1. 3
      weed/filesys/filehandle.go

3
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
}

Loading…
Cancel
Save