SisMaker 1 год назад
Родитель
Сommit
a8575bd624
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/eALockMgr.erl

+ 1
- 1
src/eALockMgr.erl Просмотреть файл

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

Загрузка…
Отмена
Сохранить