From a249dda0938bf0b7de0c2331b1ddc69454b98d7d Mon Sep 17 00:00:00 2001 From: Anders Svensson Date: Thu, 6 Dec 2012 16:42:20 +0100 Subject: Fix timing of service start event Whether or not it came first was a matter of timing. Originally bungled in commit 476db530. --- lib/diameter/src/base/diameter_service.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/diameter/src') 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}, -- cgit v1.2.3