summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pg_local.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pg_local.erl b/src/pg_local.erl
index 3a00e835ce..5ecace52ac 100644
--- a/src/pg_local.erl
+++ b/src/pg_local.erl
@@ -162,9 +162,7 @@ member_died(Ref, Pid) ->
[{{ref, Ref}, Pid}] ->
leave_all_groups(Pid);
%% in case the key has already been removed
- %% we can perform the lookup using the DOWN message pid
- [] ->
- leave_all_groups(Pid);
+ %% we can perform the lookup using the valuee from the DOWN message
_ ->
leave_all_groups(Pid)
end,