Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
4715-pg-Fix-typo-potentially-leading-to-crash.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 4715-pg-Fix-typo-potentially-leading-to-crash.patch of Package erlang
From a85980d78bb2db5df95ae0a1c2683679cad7bbdb Mon Sep 17 00:00:00 2001 From: Maxim Fedorov <maximfca@gmail.com> Date: Mon, 30 Oct 2023 19:06:15 -0700 Subject: [PATCH] [pg] Fix typo potentially leading to crash Typo introduced in #7569 may may cause pg to crash when 'DOWN' monitor message is in the queue while explicit leave is processed earlier. Closes #7807 --- lib/kernel/src/pg.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kernel/src/pg.erl b/lib/kernel/src/pg.erl index 2e86dbf4dd..5df65eb0eb 100644 --- a/lib/kernel/src/pg.erl +++ b/lib/kernel/src/pg.erl @@ -424,7 +424,7 @@ handle_info({'DOWN', MRef, process, Pid, _Info}, #state{scope = Scope, remote = leave_remote_update_ets(Scope, ScopeMon, MG, Pids, [Group]) end, RemoteMap), {noreply, State#state{remote = NewRemote}}; error -> - {noreply, MRef, State} + {noreply, State} end; %% handle scope monitor exiting -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor