Cosmetics.

This commit is contained in:
Sascha L. Teichmann 2016-05-08 23:27:11 +02:00
parent 4c24a01607
commit 5d1be98ae5
1 changed files with 2 additions and 2 deletions

View File

@ -179,6 +179,8 @@ func (tu *tileUpdater) doUpdates() {
bth := common.NewBaseTileHash()
baseDir := filepath.Join(tu.mapDir, "8")
for {
tu.cond.L.Lock()
for len(tu.changes) == 0 {
@ -188,8 +190,6 @@ func (tu *tileUpdater) doUpdates() {
tu.changes = map[xz]struct{}{}
tu.cond.L.Unlock()
baseDir := filepath.Join(tu.mapDir, "8")
jobs := make(chan *xzc)
var done sync.WaitGroup