Browse Source

ft: 修过

master
SisMaker 1 year ago
parent
commit
a8575bd624
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/eALockMgr.erl

+ 1
- 1
src/eALockMgr.erl View File

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

Loading…
Cancel
Save