summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gatherer.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gatherer.erl b/src/gatherer.erl
index 52efef2bbb..99a487ed12 100644
--- a/src/gatherer.erl
+++ b/src/gatherer.erl
@@ -56,6 +56,7 @@ start_link() ->
-spec stop(pid()) -> 'ok'.
stop(Pid) ->
+ unlink(Pid),
gen_server2:call(Pid, stop, infinity).
-spec fork(pid()) -> 'ok'.