Skip to content

Commit ecb1953

Browse files
fix: reloading old plugin modules (#61)
1 parent 963546d commit ecb1953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/vmq_plugin/src/vmq_plugin_mgr.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ start_plugin(App) ->
561561
_ ->
562562
ok
563563
end,
564+
load_app_modules(App),
564565
{ok, Mods} = application:get_key(App, modules),
565566
case lists:member(App, Mods) of
566567
true ->
@@ -575,7 +576,6 @@ start_plugin(App) ->
575576
false ->
576577
{ok, _} = application:ensure_all_started(App)
577578
end,
578-
load_app_modules(App),
579579
ok;
580580
_ ->
581581
ok

0 commit comments

Comments
 (0)