summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test_sup.erl2
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]) ->