delete cache on refresh

pull/15/head 0.0.1
Miguel Mota 6 years ago
parent c368c3318a
commit 1fa7caa831

@ -14,6 +14,8 @@ func (ct *Cointop) refreshAll() error {
ct.refreshmux.Lock()
defer ct.refreshmux.Unlock()
ct.setRefreshStatus()
ct.cache.Delete("allcoinsmap")
ct.cache.Delete("market")
ct.updateCoins()
ct.updateTable()
ct.updateMarketbar()

Loading…
Cancel
Save