Skip to content

Commit

Permalink
fix panic
Browse files Browse the repository at this point in the history
  • Loading branch information
din-mukhammed committed Jul 5, 2023
1 parent 12b3ae3 commit e796bfd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion zboxcore/sdk/allocation.go
Original file line number Diff line number Diff line change
Expand Up @@ -2113,7 +2113,6 @@ func (a *Allocation) downloadFromAuthTicket(fileHandler sys.File, authTicket str
downloadReq.consensusThresh = a.consensusThreshold
downloadReq.connectionID = zboxutil.NewConnectionId()
downloadReq.completedCallback = func(remotepath string, remotepathHash string) {
downloadReq.fileHandler.Close()
a.mutex.Lock()
defer a.mutex.Unlock()
delete(a.downloadProgressMap, remotepathHash)
Expand Down

0 comments on commit e796bfd

Please sign in to comment.