Skip to content

Commit

Permalink
fix: reloading old plugin modules (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
VivekPipaliya23 authored May 9, 2024
1 parent 963546d commit ecb1953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/vmq_plugin/src/vmq_plugin_mgr.erl
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ start_plugin(App) ->
_ ->
ok
end,
load_app_modules(App),
{ok, Mods} = application:get_key(App, modules),
case lists:member(App, Mods) of
true ->
Expand All @@ -575,7 +576,6 @@ start_plugin(App) ->
false ->
{ok, _} = application:ensure_all_started(App)
end,
load_app_modules(App),
ok;
_ ->
ok
Expand Down

0 comments on commit ecb1953

Please sign in to comment.