Skip to content

Commit 29d1c7b

Browse files
jameshoulahancuthix
authored andcommitted
fix(GODT-2327): Remove unnecessary sync abort call
1 parent ca1996a commit 29d1c7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/user/events.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ func (user *User) handleRefreshEvent(ctx context.Context, refresh proton.Refresh
8888
// Cancel the event stream once this refresh is done.
8989
defer user.pollAbort.Abort()
9090

91-
// Cancel and restart ongoing syncs.
92-
user.syncAbort.Abort()
91+
// Resync after the refresh.
9392
defer user.goSync()
9493

9594
return safe.LockRet(func() error {

0 commit comments

Comments
 (0)