mrpmorris / Fluxor

Fluxor is a zero boilerplate Flux/Redux library for Microsoft .NET and Blazor.
MIT License
1.22k stars 139 forks source link

Deadlock when dispatching from store/feature events #474

Closed mrpmorris closed 3 months ago

mrpmorris commented 4 months ago

If the handlers on Dispatcher.ActionDispatched or Feature.StateChanged events dispatch another action on a different thread then a deadlock occurs.

aleroca96 commented 4 months ago

Hi First of all, thanks for building this library. It has been really useful on legacy Winforms projects.

Do you know if/when this issue will be fixed and if you have found a temporary solution to it?

Many thanks!

mrpmorris commented 4 months ago

I have a potential solution but need to stress test it because threading.

What version of .net are you using? It looks like I might only be supporting 6..8

aleroca96 commented 4 months ago

Im on Net8