diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-11-20 09:49:53 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-11-20 09:49:53 +0000 |
commit | 7ce22dd3160e8ddd0d14fc1df2fbcd8c6275f5c1 (patch) | |
tree | 13c83e5a703517df41bbf7810807cf2e0e77c6da | |
parent | 2350dd961bfde5601b439a574c7eef94d090aa04 (diff) | |
parent | 58637f1f49476dbd7eedd1baac1ab1857b329f52 (diff) | |
download | rabbitmq-server-7ce22dd3160e8ddd0d14fc1df2fbcd8c6275f5c1.tar.gz |
stable to default
-rw-r--r-- | src/app_utils.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/app_utils.erl b/src/app_utils.erl index 87e6fa0b..ad270518 100644 --- a/src/app_utils.erl +++ b/src/app_utils.erl @@ -62,7 +62,13 @@ start_applications(Apps, ErrorHandler) -> stop_applications(Apps, ErrorHandler) -> manage_applications(fun lists:foldr/3, - fun application:stop/1, + %% Mitigation for bug 26467. TODO remove when we fix it. + fun (mnesia) -> + timer:sleep(1000), + application:stop(mnesia); + (App) -> + application:stop(App) + end, fun application:start/1, not_started, ErrorHandler, |