this is my question:
I have a group of gen_servers which are started without name and that during the init function use pg2:join(group, self()). Until here it works fine.
I used in terminate function pg2:leave(group, self()). but if I kill one of the pids retrieved using pg2:get_members(group). the pid of the killed process in still in the list given by pg2:get_members(group).
I tried to use the leave function by mean of a gen_server call and in this case it works fine.
Can you tell me what is wrong?
Thanks
it was a problem on erlang version.