You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
366: Remove UserTrapper trait r=lachlansneff a=lachlansneff
This removes the `UserTrapper` trait and the thread_local EARLY_TRAPPER variable.
Fixes bug reported in #365.
Co-authored-by: Lachlan Sneff <lachlan.sneff@gmail.com>
Describe the bug
This logic:
does not work correctly if a module is shared between threads or two modules are created and the first module is executed.
Additional context
Workaround: call
Instance::module()
beforeInstance::call()
which will triggerModule::new()
and set the thread-localThe text was updated successfully, but these errors were encountered: