map hotfix

This commit is contained in:
2019-07-24 16:14:15 -04:00
parent bb3282c467
commit 8067eb0bfe
3 changed files with 16 additions and 14 deletions

View File

@@ -109,9 +109,10 @@ func isDir(name string) bool {
func (b *Beemer) dispose() {
b.watcher.Close()
for _, v := range b.fileMap {
v.WaitTimer.Stop()
}
b.fileMap.Range(func(key, value interface{}) bool {
value.(*File).WaitTimer.Stop()
return true
})
close(b.beemChan)