Parcourir la source

ft: 修过

master
SisMaker il y a 1 an
Parent
révision
a8575bd624
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/eALockMgr.erl

+ 1
- 1
src/eALockMgr.erl Voir le fichier

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

Chargement…
Annuler
Enregistrer