checkin test

pull/638/head
hunterlong 2020-06-08 20:56:51 -07:00
parent 37e405df77
commit 434c8f2906
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@ func (c *Checkin) RecheckCheckinFailure(guard chan struct{}) {
// checkinRoutine for checking if the last Checkin was within its interval
func (c *Checkin) checkinRoutine() {
if c == nil {
return
}
lastHit := c.LastHit()
if lastHit == nil {
return