Skip to content

Commit

Permalink
uasc: stop expiration timer
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Oct 5, 2022
1 parent b35cecc commit e0f6147
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uasc/secure_channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ func (s *SecureChannel) scheduleExpiration(instance *channelInstance) {
debug.Printf("uasc %d: security token expires at %s. channelID=%d tokenID=%d", s.c.ID(), when.UTC().Format(time.RFC3339), instance.secureChannelID, instance.securityTokenID)

t := time.NewTimer(time.Until(when))
defer t.Stop()

select {
case <-s.closing:
Expand Down

0 comments on commit e0f6147

Please sign in to comment.