Skip to content

Commit

Permalink
Add stop notice
Browse files Browse the repository at this point in the history
  • Loading branch information
kookxiang committed May 8, 2016
1 parent 403b4f0 commit daf35c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func main() {
likedTiebaList, err := GetLikedTiebaList(cookie)
if err != nil {
fmt.Printf("[%s] Error while fetching tieba list\n", profileName)
fmt.Printf("[%s] Go routine stopped.\n", profileName)
threadList.Done()
return
} else {
Expand Down Expand Up @@ -209,6 +210,8 @@ func main() {
time.Sleep(2e9)
}
}
fmt.Printf("[%s] Finished!\n", profileName)
fmt.Printf("[%s] Go routine stopped.\n", profileName)
threadList.Done()
}(profileName, cookie)
}
Expand Down

0 comments on commit daf35c9

Please sign in to comment.