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 wrong timeout object #112

Merged
merged 1 commit into from
May 17, 2022
Merged

Fix wrong timeout object #112

merged 1 commit into from
May 17, 2022

Conversation

KentoMoriwaki
Copy link
Contributor

@KentoMoriwaki KentoMoriwaki commented May 16, 2022

I encountered an error TypeError: Cannot read property 'matchesNode' of null when using with react and HMR.
(same as ueberdosis/tiptap#1451)

I just found that y-prosemirror dispatches a transaction even after destroyed, and it's due to failed to clear timeout by wrong use of lib0/eventloop.

@dmonad
Copy link
Member

dmonad commented May 17, 2022

Right, thank you!

Will publish a new release in a bit.

@dmonad dmonad merged commit 0a522ff into yjs:master May 17, 2022
@KentoMoriwaki KentoMoriwaki deleted the timeout branch May 17, 2022 12:41
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