mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
Cosmetics.
This commit is contained in:
parent
4c24a01607
commit
5d1be98ae5
@ -179,6 +179,8 @@ func (tu *tileUpdater) doUpdates() {
|
|||||||
|
|
||||||
bth := common.NewBaseTileHash()
|
bth := common.NewBaseTileHash()
|
||||||
|
|
||||||
|
baseDir := filepath.Join(tu.mapDir, "8")
|
||||||
|
|
||||||
for {
|
for {
|
||||||
tu.cond.L.Lock()
|
tu.cond.L.Lock()
|
||||||
for len(tu.changes) == 0 {
|
for len(tu.changes) == 0 {
|
||||||
@ -188,8 +190,6 @@ func (tu *tileUpdater) doUpdates() {
|
|||||||
tu.changes = map[xz]struct{}{}
|
tu.changes = map[xz]struct{}{}
|
||||||
tu.cond.L.Unlock()
|
tu.cond.L.Unlock()
|
||||||
|
|
||||||
baseDir := filepath.Join(tu.mapDir, "8")
|
|
||||||
|
|
||||||
jobs := make(chan *xzc)
|
jobs := make(chan *xzc)
|
||||||
var done sync.WaitGroup
|
var done sync.WaitGroup
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user