Skip to content

Commit

Permalink
Fix ddu-ui-filer freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jul 1, 2024
1 parent 9064bc3 commit 6b09194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion denops/ddu/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ export const main: Entrypoint = (denops: Denops) => {
const ddu = getDdu(name);

if (event === "close" || event === "cancel") {
await ddu.quit(denops);
// NOTE: Cannot use await it will be freezed.
ddu.quit(denops);
}

await ddu.onEvent(denops, event);
Expand Down

0 comments on commit 6b09194

Please sign in to comment.