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: continue fix Obsidian v.15.* #13

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

anselmwang
Copy link
Contributor

@anselmwang anselmwang commented Jul 27, 2022

@yuanotes , I find a bug by registering callback often. Obsidian does reuse old editor sometimes, if that case, current code will register callback multiple times and when vim mode changes, the callback will be called multiple times.

If the callback being registered for 50 times, the Obsidian will slow down a lot.

I quickly fix this bug, but I don't suggest to merge the PR right now. Let me test the plugin for like 1 month. I send the PR just to avoid wasting your time in case you are confused by this bug.

@yuanotes yuanotes merged commit a7e3fd8 into yuanotes:master Aug 1, 2022
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.

2 participants