Fix expiry timer
This commit is contained in:
parent
0fcb27311e
commit
036552bac1
1 changed files with 0 additions and 4 deletions
|
@ -41,9 +41,5 @@ func (s *Session) SetExpireTimer(newTime *uint32) {
|
|||
}
|
||||
|
||||
func (s *Session) resetExpireTimer() {
|
||||
if s.ExpiryInterval == 0 {
|
||||
s.expireTimer.Stop()
|
||||
} else {
|
||||
s.expireTimer.Reset(s.ExpiryInterval)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue