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
|
pfx := pfx
|
||||||
gate.Start()
|
gate.Start()
|
||||||
go func() {
|
go func() {
|
||||||
wg.Done()
|
defer wg.Done()
|
||||||
defer gate.Done()
|
defer gate.Done()
|
||||||
sh.validateShardPrefix(pfx)
|
sh.validateShardPrefix(pfx)
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue