Closed kpribylov closed 4 years ago
Hi,
In case if there're two monitoring processes for the SAME name and one of them terminates, monitoring stops working for the remaining
Simple test (gproc 0.8.0 + erlang console):
Key = {n,l,somename}. P = spawn(fun() -> gproc:reg(Key, true), receive _ -> ok end end).
gproc:monitor(Key). spawn(fun() -> gproc:monitor(Key) end). exit(P, kill).
There is no {gproc,unreg,...} message here Everything is fine if the second monitoring process keeps working
Thanks
Hi,
In case if there're two monitoring processes for the SAME name and one of them terminates, monitoring stops working for the remaining
Simple test (gproc 0.8.0 + erlang console):
Key = {n,l,somename}. P = spawn(fun() -> gproc:reg(Key, true), receive _ -> ok end end).
gproc:monitor(Key). spawn(fun() -> gproc:monitor(Key) end). exit(P, kill).
There is no {gproc,unreg,...} message here Everything is fine if the second monitoring process keeps working
Thanks