We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 93f3fe7 + 54bc464 commit 4ec0ca9Copy full SHA for 4ec0ca9
deps/rabbit/src/rabbit_ff_registry_factory.erl
@@ -842,5 +842,9 @@ reset_registry() ->
842
#{domain => ?RMQLOG_DOMAIN_FEAT_FLAGS}),
843
_ = code:purge(rabbit_ff_registry),
844
_ = code:delete(rabbit_ff_registry),
845
+ %% After purging the module, we explicitly reload the stub version from the
846
+ %% disk. We need to do this because if the Erlang VM is running in embedded
847
+ %% mode, it will refuse to auto-load the module.
848
+ _ = code:load_file(rabbit_ff_registry),
849
?assertNot(rabbit_ff_registry:is_registry_initialized()),
850
ok.
0 commit comments