diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-02-14 15:31:58 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-02-14 15:31:58 +0000 |
commit | 5633573518b153c36fc02adcf9e3f6a697e1f37c (patch) | |
tree | 572e9b1a7d46f80af8ed4fc444d5a335e46be907 | |
parent | b96fb4eec639909ecf3b31deff9e79c0f96e9ae3 (diff) | |
download | rabbitmq-server-bug25419.tar.gz |
cosmeticbug25419
-rw-r--r-- | src/rabbit.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index 2a9e9ec9..77537994 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -342,7 +342,7 @@ handle_app_error(App, Reason) -> throw({could_not_start, App, Reason}). start_it(StartFun) -> - Marker = spawn_link(fun() -> receive finished -> ok end end), + Marker = spawn_link(fun() -> receive stop -> ok end end), register(rabbit_boot, Marker), try StartFun() @@ -353,7 +353,7 @@ start_it(StartFun) -> boot_error(Reason, erlang:get_stacktrace()) after unlink(Marker), - Marker ! finished, + Marker ! stop, %% give the error loggers some time to catch up timer:sleep(100) end. |