Skip to content
Browse files

agent.erl shouldn't trap exits by default

  • Loading branch information...
1 parent caeb263 commit 24bbd13305830d7d5a23f0486dcf00dd146bdde5 @gleber committed Apr 23, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/agent.erl
View
1 src/agent.erl
@@ -89,7 +89,6 @@ kill(Agent) -> stop(Agent).
%% Initialize
%%
init(Args) ->
- process_flag(trap_exit, true),
[AgentName, Callback, Parameters | _] = Args,
ams:register_agent(AgentName),
{ok, IntState} = Callback:init(AgentName, Parameters),

0 comments on commit 24bbd13

Please sign in to comment.
Something went wrong with that request. Please try again.