Roberto Ostinelli 5 лет назад
Родитель
Сommit
20ab3d45e6
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/syn_groups.erl
  2. 1 1
      src/syn_registry.erl

+ 1 - 1
src/syn_groups.erl

@@ -423,7 +423,7 @@ leave_on_node(GroupName, Pid) ->
             %% remove from table
             remove_from_local_table(Entry);
 
-        Entry ->
+        _Entry ->
             %% race condition: leave request but entry in table is not a local pid (has no monitor)
             %% ignore it, sync messages will take care of it
             ok

+ 1 - 1
src/syn_registry.erl

@@ -423,7 +423,7 @@ unregister_on_node(Name) ->
             %% remove from table
             remove_from_local_table(Name);
 
-        Entry ->
+        _Entry ->
             %% race condition: un-registration request but entry in table is not a local pid (has no monitor)
             %% ignore it, sync messages will take care of it
             ok