mirror of https://github.com/perkeep/perkeep.git
Merge "server: add missing defer in sync handler"
This commit is contained in:
commit
abc6561c60
|
@ -724,7 +724,7 @@ func (sh *SyncHandler) runFullValidation() {
|
|||
pfx := pfx
|
||||
gate.Start()
|
||||
go func() {
|
||||
wg.Done()
|
||||
defer wg.Done()
|
||||
defer gate.Done()
|
||||
sh.validateShardPrefix(pfx)
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue