aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-12-06 16:42:20 +0100
committerAnders Svensson <[email protected]>2012-12-06 16:51:57 +0100
commita249dda0938bf0b7de0c2331b1ddc69454b98d7d (patch)
tree5e55c94d9de3c17dce04d4334339754a51dc7f54
parentd5de2e1ffd6403f5d7ec62e6ce8da508e1cb1239 (diff)
downloadotp-a249dda0938bf0b7de0c2331b1ddc69454b98d7d.tar.gz
otp-a249dda0938bf0b7de0c2331b1ddc69454b98d7d.tar.bz2
otp-a249dda0938bf0b7de0c2331b1ddc69454b98d7d.zip
Fix timing of service start event
Whether or not it came first was a matter of timing. Originally bungled in commit 476db530.
-rw-r--r--lib/diameter/src/base/diameter_service.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl
index a4a0b80348..fbbc358ff4 100644
--- a/lib/diameter/src/base/diameter_service.erl
+++ b/lib/diameter/src/base/diameter_service.erl
@@ -859,10 +859,10 @@ i(SvcName) ->
true = ets:insert_new(?STATE_TABLE, S),
%% Start fsms for each transport.
+ send_event(SvcName, start),
lists:foreach(fun(T) -> start_fsm(T,S) end, CL),
init_shared(S),
- send_event(SvcName, start),
S.
cfg_acc({SvcName, #diameter_service{applications = Apps} = Rec, Opts},