Browse Source

Ensure not to raise an error if process is sent an exit kill signal.

Roberto Ostinelli 10 years ago
parent
commit
4c2d6e3dfa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/syn_backbone.erl

+ 1 - 0
src/syn_backbone.erl

@@ -169,6 +169,7 @@ handle_info({'EXIT', Pid, Reason}, State) ->
             undefined ->
             undefined ->
                 case Reason of
                 case Reason of
                     normal -> ok;
                     normal -> ok;
+                    killed -> ok;
                     _ ->
                     _ ->
                         error_logger:warning_msg("Received a crash message from an unlinked process ~p with reason: ~p~n", [Pid, Reason])
                         error_logger:warning_msg("Received a crash message from an unlinked process ~p with reason: ~p~n", [Pid, Reason])
                 end;
                 end;