Skip to content

Commit

Permalink
Fix resume does not work error
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jan 7, 2025
1 parent 825234d commit c78fdf6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions denops/ddu/ddu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -895,8 +895,7 @@ export class Ddu {
): Promise<void> {
const promises = [...this.#gatherStates]
.filter(([sourceIndex]) => isRefreshTarget(sourceIndex, sourceIndexes))
.map(([sourceIndex, state]) => {
this.#gatherStates.delete(sourceIndex);
.map(([_, state]) => {
state.cancel(reason);
return state.waitDone;
});
Expand Down

0 comments on commit c78fdf6

Please sign in to comment.