summaryrefslogtreecommitdiffstats
path: root/src/ss7_links.erl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-10-10 19:19:13 +0200
committerHarald Welte <laforge@gnumonks.org>2011-10-10 19:19:13 +0200
commit1ea446947d6474230d8870d8f32c5ff475d3e4d4 (patch)
treee356d93b1aaf2007346f2bc46682d9ae9e682087 /src/ss7_links.erl
parent0013e7949e2f05d0bdab11e8f72c076ca464ef6d (diff)
ss7_links: actually trap the EXIT signal of the other processes
Diffstat (limited to 'src/ss7_links.erl')
-rw-r--r--src/ss7_links.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ss7_links.erl b/src/ss7_links.erl
index 1562b92..7f9927f 100644
--- a/src/ss7_links.erl
+++ b/src/ss7_links.erl
@@ -83,6 +83,7 @@ init(_Arg) ->
% within client/caller process
LinkTbl = ets:new(ss7_link_table, [ordered_set, named_table,
{keypos, #slink.key}]),
+ process_flag(trap_exit, true),
{ok, #su_state{linkset_tbl = LinksetTbl, link_tbl = LinkTbl,
service_tbl = ServiceTbl}}.