Skip to content

Commit

Permalink
Update ranch supervisor name
Browse files Browse the repository at this point in the history
(cherry picked from commit fec1505)
  • Loading branch information
dcorbacho authored and michaelklishin committed Apr 22, 2021
1 parent 84dce1a commit f60279b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/rabbitmq_web_dispatch/src/rabbit_web_dispatch_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ ensure_listener(Listener) ->

stop_listener(Listener) ->
Name = rabbit_networking:ranch_ref(Listener),
ok = supervisor:terminate_child(?SUP, {ranch_listener_sup, Name}),
ok = supervisor:delete_child(?SUP, {ranch_listener_sup, Name}).
ok = supervisor:terminate_child(?SUP, {ranch_embedded_sup, Name}),
ok = supervisor:delete_child(?SUP, {ranch_embedded_sup, Name}).

%% @spec init([[instance()]]) -> SupervisorTree
%% @doc supervisor callback.
Expand Down

0 comments on commit f60279b

Please sign in to comment.