mirror of
https://github.com/rclone/rclone.git
synced 2025-12-29 14:43:24 +00:00
acd: Fix panic on token expiry - fixes #1117
This commit is contained in:
@@ -62,3 +62,8 @@ func (r *Renew) Start() {
|
||||
func (r *Renew) Stop() {
|
||||
atomic.AddInt32(&r.uploads, -1)
|
||||
}
|
||||
|
||||
// Invalidate invalidates the token source
|
||||
func (r *Renew) Invalidate() {
|
||||
r.ts.Invalidate()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user