aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_config.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2010-06-03 22:48:10 +0200
committerRaimo Niskanen <[email protected]>2010-06-09 16:19:22 +0200
commit470063d25f6128ef83cba6864533fc05e45cca74 (patch)
tree25ce6cdf511d7ff435e60c208a5eb510f5720ff3 /lib/common_test/src/ct_config.erl
parent7ce6aa16313d159b1994bf1d2f18b52bd91e9075 (diff)
downloadotp-470063d25f6128ef83cba6864533fc05e45cca74.tar.gz
otp-470063d25f6128ef83cba6864533fc05e45cca74.tar.bz2
otp-470063d25f6128ef83cba6864533fc05e45cca74.zip
Flush old DOWN messages in demonitor
Diffstat (limited to 'lib/common_test/src/ct_config.erl')
-rw-r--r--lib/common_test/src/ct_config.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_config.erl b/lib/common_test/src/ct_config.erl
index a7b8a9e906..a6ade3f66b 100644
--- a/lib/common_test/src/ct_config.erl
+++ b/lib/common_test/src/ct_config.erl
@@ -111,7 +111,7 @@ call(Msg) ->
ct_config_server ! {Msg,{self(),Ref}},
receive
{Ref, Result} ->
- erlang:demonitor(MRef),
+ erlang:demonitor(MRef, [flush]),
Result;
{'DOWN',MRef,process,_,Reason} ->
{error,{ct_util_server_down,Reason}}