aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_peer_fsm.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-01-24 16:16:05 +0100
committerAnders Svensson <[email protected]>2013-02-08 15:28:56 +0100
commit34b008c323591b0c02f42287c86b9a788aab51ad (patch)
tree566c448d20c5cf0216d1c445b5189019a2ab4c9a /lib/diameter/src/base/diameter_peer_fsm.erl
parent74755d8d18aa1769840b0914fe73e9c5c4b3219b (diff)
downloadotp-34b008c323591b0c02f42287c86b9a788aab51ad.tar.gz
otp-34b008c323591b0c02f42287c86b9a788aab51ad.tar.bz2
otp-34b008c323591b0c02f42287c86b9a788aab51ad.zip
Simplify transport shutdown
Service process informs the watchdog process which informs the peer process. (Instead of going directly to the latter in one case.)
Diffstat (limited to 'lib/diameter/src/base/diameter_peer_fsm.erl')
-rw-r--r--lib/diameter/src/base/diameter_peer_fsm.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_peer_fsm.erl b/lib/diameter/src/base/diameter_peer_fsm.erl
index 5dab6214b1..b515a599ed 100644
--- a/lib/diameter/src/base/diameter_peer_fsm.erl
+++ b/lib/diameter/src/base/diameter_peer_fsm.erl
@@ -393,8 +393,6 @@ transition({send, Msg}, #state{transport = TPid}) ->
%% Request for graceful shutdown at remove_transport, stop_service of
%% application shutdown.
-transition({shutdown = T, Pid}, S) ->
- transition({T, Pid, transport}, S);
transition({shutdown, Pid, Reason}, #state{parent = Pid, dpr = false} = S) ->
dpr(Reason, S);
transition({shutdown, Pid, _}, #state{parent = Pid}) ->