Skip to content

Commit

Permalink
update timer
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya committed Oct 17, 2015
1 parent a51d55a commit e1545d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/spider/common/timer.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func (self *CountdownTimer) RemoveRoutine(routine string) *CountdownTimer {
self.RWMutex.Lock()
defer self.RWMutex.Unlock()
delete(self.Routines, routine)
delete(self.Flag, routine)
return self
}

Expand Down

0 comments on commit e1545d8

Please sign in to comment.