diff options
author | Emile Joubert <emile@rabbitmq.com> | 2011-04-01 13:09:50 +0100 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2011-04-01 13:09:50 +0100 |
commit | 4c5f452226bad9d82ab3ad387d18a89262964307 (patch) | |
tree | 44e9453bf4e47f92833f0dfb14abc56fc5e796ee /src/test_sup.erl | |
parent | 8a749d93ff409f665ff610ca62482705f672db13 (diff) | |
download | rabbitmq-server-4c5f452226bad9d82ab3ad387d18a89262964307.tar.gz |
Unlink before exitbug22952
Diffstat (limited to 'src/test_sup.erl')
-rw-r--r-- | src/test_sup.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_sup.erl b/src/test_sup.erl index 5fc0eac0..150235da 100644 --- a/src/test_sup.erl +++ b/src/test_sup.erl @@ -45,8 +45,8 @@ test_supervisor_delayed_restart(SupPid) -> with_sup(RestartStrategy, Fun) -> {ok, SupPid} = supervisor2:start_link(?MODULE, [RestartStrategy]), Res = Fun(SupPid), - exit(SupPid, shutdown), unlink(SupPid), + exit(SupPid, shutdown), Res. init([RestartStrategy]) -> |