SisMaker 1 anno fa
parent
commit
a8575bd624
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/eALockMgr.erl

+ 1
- 1
src/eALockMgr.erl Vedi File

@ -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);

Caricamento…
Annulla
Salva