Fix server data race/nil pointer in withMaps

Fixes #7392
This commit is contained in:
Bjørn Erik Pedersen
2020-06-16 10:42:41 +02:00
parent 522ba1cd98
commit 6408c1cbc8
4 changed files with 15 additions and 10 deletions

View File

@@ -47,7 +47,6 @@ func newPageMaps(h *HugoSites) *pageMaps {
workers: para.New(h.numWorkers),
pmaps: mps,
}
}
type pageMap struct {