We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a02a114 + 41872a4 commit 5fa1edaCopy full SHA for 5fa1eda
src/gen_server2.erl
@@ -437,7 +437,10 @@ unregister_name({local,Name}) ->
437
unregister_name({global,Name}) ->
438
_ = global:unregister_name(Name);
439
unregister_name(Pid) when is_pid(Pid) ->
440
- Pid.
+ Pid;
441
+% Under R12 let's just ignore it, as we have a single term as Name.
442
+% On R13 it will never get here, as we get tuple with 'local/global' atom.
443
+unregister_name(Name) -> ok.
444
445
extend_backoff(undefined) ->
446
undefined;
0 commit comments