I use mreg to register some properties for a process. But when process die, the properties still in table gproc.
I dig into code and find in gproc_lib:insert_many that it call to gproc_lib:ensure_monitor and insert a record {Pid, Scope} into table.
That will make ets:insert_new in gproc:monitor_me fail and not set up monitor.
Hi
I use mreg to register some properties for a process. But when process die, the properties still in table gproc.
I dig into code and find in gproc_lib:insert_many that it call to gproc_lib:ensure_monitor and insert a record {Pid, Scope} into table. That will make ets:insert_new in gproc:monitor_me fail and not set up monitor.