uwiger / gproc

Extended process registry for Erlang
Apache License 2.0
1.07k stars 232 forks source link

goodbye() doesn't work in global mode #155

Open mheinzel opened 6 years ago

mheinzel commented 6 years ago

With l, it works:

> gproc:reg({n,l,bla}).
true
> gproc:where({n,l,bla}).
<0.170.0>
> gproc:goodbye().
ok
> gproc:where({n,l,bla}).
undefined

With g, it doesn't:

> gproc:reg({n,g,bla}).
true
> gproc:where({n,g,bla}).
<0.186.0>
> gproc:goodbye().
ok
> gproc:where({n,g,bla}).
<0.186.0>

Both on current HEAD.

Or is it intended behavior?

Thanks!

uwiger commented 6 years ago

Hardly intended. I'll take a look.