diff --git a/extern/sector-storage/worker_tracked.go b/extern/sector-storage/worker_tracked.go index 91da0fee5..1d92579a5 100644 --- a/extern/sector-storage/worker_tracked.go +++ b/extern/sector-storage/worker_tracked.go @@ -98,7 +98,10 @@ func (wt *workTracker) track(ctx context.Context, ready chan struct{}, wid stori wt.lk.Lock() delete(wt.prepared, prepID) } + + wt.lk.Unlock() callID, err := cb() + wt.lk.Lock() if err != nil { return callID, err }