Skip to content
Snippets Groups Projects
Commit 3d9bd652 authored by Clifford T. Matthews's avatar Clifford T. Matthews
Browse files

Uses dyn Fn instead of dyn FnMut so the callbacks are reentrant

There is a bug in Firefox that can cause a panic when dyn FnMut closures
are used.  https://bugzilla.mozilla.org/show_bug.cgi?id=758004
For my software, simply changing the dyn FnMut to dyn Fn seems to work.
Once this branch is on GitHub, I'll build a version of my software that
I can deploy to where it can get tested by more people.  If it still
works, I'll write up a better explanation and contact scratchyone.
parent 4477c06f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment