Browse Source

ignore `shutdown` as process death reason too

ephe-meral 8 years ago
parent
commit
dd01a680e1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/syn_registry.erl

+ 1 - 0
src/syn_registry.erl

@@ -255,6 +255,7 @@ handle_info({'EXIT', Pid, Reason}, #state{
                 %% log
                 case Reason of
                     normal -> ok;
+                    shutdown -> ok;
                     killed -> ok;
                     _ ->
                         error_logger:error_msg("Process with key ~p and pid ~p exited with reason: ~p", [Key0, Pid, Reason])