Skip to content

Commit 229f64a

Browse files
committed
break when pollingToken found whether or not its the last
1 parent 09e9e30 commit 229f64a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/polling-controller/src/AbstractPollingController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ export function AbstractPollingControllerBaseMixin<TBase extends Constructor>(
7878
if (tokenSet.delete(pollingToken)) {
7979
if (tokenSet.size === 0) {
8080
keyToDelete = key;
81-
break;
8281
}
82+
break;
8383
}
8484
}
8585

0 commit comments

Comments
 (0)