Skip to content

Commit 31e2d80

Browse files
Combine two clauses here
(cherry picked from commit d6e1265)
1 parent 2288f54 commit 31e2d80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pg_local.erl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,7 @@ member_died(Ref, Pid) ->
162162
[{{ref, Ref}, Pid}] ->
163163
leave_all_groups(Pid);
164164
%% in case the key has already been removed
165-
%% we can perform the lookup using the DOWN message pid
166-
[] ->
167-
leave_all_groups(Pid);
165+
%% we can perform the lookup using the valuee from the DOWN message
168166
_ ->
169167
leave_all_groups(Pid)
170168
end,

0 commit comments

Comments
 (0)