Emulator fav_list bug fix

This commit is contained in:
cuu
2018-12-12 14:53:31 +08:00
parent ced5ed5440
commit 860b246d94
3 changed files with 10 additions and 4 deletions

View File

@@ -126,12 +126,12 @@ func (self *DownloadProcessPage) UpdateProcessInterval() {
// download is complete
fmt.Println("download is complete ",self.Value)
self.Value = 0
self.TheTicker.Stop()
goto OUT
break
}
}
OUT:
if err := self.resp.Err(); err != nil {
self.DownloadErr()
fmt.Fprintf(os.Stderr, "Download failed: %v\n", err)