We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db4812f commit d3e3af3Copy full SHA for d3e3af3
1 file changed
lib/oauthutil/renew.go
@@ -88,7 +88,9 @@ func (r *Renew) Shutdown() {
88
}
89
// closing a channel can only be done once
90
r.shutdown.Do(func() {
91
- r.ts.expiryTimer.Stop()
+ if r.ts != nil {
92
+ r.ts.expiryTimer.Stop()
93
+ }
94
close(r.done)
95
})
96
0 commit comments