Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Threadingbugsolution #91

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jspuij
Copy link

@jspuij jspuij commented Mar 20, 2020

In addition to #88 I found another issue. The fact that the dispatcher was implemented as NullDispatcher (probably OK for single threaded Client Side Blazor), made it possible that user JSInterop calls from javascript would trigger concurrent renders on different threads.

I have implemented a proper dispatcher for the Synchronization context to schedule async calls on the render thread.

This pull request includes the code from the previous one. So merging this will probably suffice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant