Explorar el Código

ft: 修过

master
SisMaker hace 1 año
padre
commit
a8575bd624
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/eALockMgr.erl

+ 1
- 1
src/eALockMgr.erl Ver fichero

@ -38,7 +38,7 @@ handle_info({'EXIT', Pid, _Reason}, State) ->
[] -> ignore;
[KeyIxOrKeyIxs] ->
ALockRef = persistent_term:get(?eALockRef),
PidInt = termInt:termInt(PidInt),
PidInt = termInt:termInt(Pid),
case is_integer(KeyIxOrKeyIxs) of
true ->
atomics:compare_exchange(ALockRef, KeyIxOrKeyIxs, PidInt, 0);

Cargando…
Cancelar
Guardar