mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 22:56:48 +00:00
fix(GODT-2327): Remove unnecessary sync abort call
This commit is contained in:
@ -88,8 +88,7 @@ func (user *User) handleRefreshEvent(ctx context.Context, refresh proton.Refresh
|
||||
// Cancel the event stream once this refresh is done.
|
||||
defer user.pollAbort.Abort()
|
||||
|
||||
// Cancel and restart ongoing syncs.
|
||||
user.syncAbort.Abort()
|
||||
// Resync after the refresh.
|
||||
defer user.goSync()
|
||||
|
||||
return safe.LockRet(func() error {
|
||||
|
||||
Reference in New Issue
Block a user