aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_config.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-08-28 15:05:30 +0200
committerAnders Svensson <[email protected]>2012-08-28 15:05:30 +0200
commitafd9de758fc7977e03df376e628bd8e5143dd51d (patch)
tree90e37064daa41b69660967bad0cd6c6966cd1925 /lib/diameter/src/base/diameter_config.erl
parent88c13abb6e803c2be0288ce0c46f080e951fc8b0 (diff)
parent34920eaa016af20226da0a6dc44d3cd8b9cf4abe (diff)
downloadotp-afd9de758fc7977e03df376e628bd8e5143dd51d.tar.gz
otp-afd9de758fc7977e03df376e628bd8e5143dd51d.tar.bz2
otp-afd9de758fc7977e03df376e628bd8e5143dd51d.zip
Merge branch 'anders/diameter/statistics/OTP-9608' into maint
* anders/diameter/statistics/OTP-9608: Improve statistics test cases Statistics fixes
Diffstat (limited to 'lib/diameter/src/base/diameter_config.erl')
-rw-r--r--lib/diameter/src/base/diameter_config.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_config.erl b/lib/diameter/src/base/diameter_config.erl
index 9253af0de2..eb06045ace 100644
--- a/lib/diameter/src/base/diameter_config.erl
+++ b/lib/diameter/src/base/diameter_config.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2012. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -519,6 +519,7 @@ rm(SvcName, L) ->
Refs = lists:map(fun(#transport{ref = R}) -> R end, L),
case stop_transport(SvcName, Refs) of
ok ->
+ diameter_stats:flush(Refs),
lists:foreach(fun delete_object/1, L);
{error, _} = No ->
No