Explorar el Código

pf:gen_*不能call自己

master
SisMaker hace 3 años
padre
commit
f11e13b28e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/gen_call.erl

+ 1
- 1
src/gen_call.erl Ver fichero

@ -45,7 +45,7 @@ do_call(Process, Label, Request, Timeout) ->
Process ->
exit(calling_self);
_ ->
Process ! {Label, {self(), Mref}, Request},
Process ! {Label, {self(), Mref}, Request}
end,
receive
{Mref, Reply} ->

Cargando…
Cancelar
Guardar