Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix always use last callback at wait_async() #275

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

kuuote
Copy link
Member

@kuuote kuuote commented Sep 1, 2023

Currently wait_async() callback is called in loop and using timer_start(). It was handled after the loop was turned.
I splited timer call to function. It creates new callstack independent for loop.
Fix #274

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (a80e4d8) 92.59% compared to head (b9cf1b0) 92.59%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #275   +/-   ##
=======================================
  Coverage   92.59%   92.59%           
=======================================
  Files           3        3           
  Lines          81       81           
  Branches        6        6           
=======================================
  Hits           75       75           
  Misses          6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kuuote kuuote force-pushed the fix-multiple-wait_async branch 2 times, most recently from a44d9d2 to 81b98c5 Compare September 1, 2023 01:31
uga-rosa added a commit to uga-rosa/denippet.vim that referenced this pull request Sep 2, 2023
revert when this PR is merged
vim-denops/denops.vim#275
autoload/denops/plugin.vim Outdated Show resolved Hide resolved
@lambdalisue lambdalisue merged commit 68f607d into vim-denops:main Sep 7, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple calls to denops#plugin#wait_async()
2 participants