chore(persistent_sessions): remove redundant trap_exit flag

This commit is contained in:
Tobias Lindahl 2021-10-26 10:01:02 +02:00
parent 28417ad1d7
commit 558416af1d
1 changed files with 0 additions and 1 deletions

View File

@ -91,7 +91,6 @@ buffer(Worker, STopic, Msg) ->
init(#{ remote_pid := RemotePid init(#{ remote_pid := RemotePid
, session_id := SessionID , session_id := SessionID
, session_tab := SessionTab}) -> , session_tab := SessionTab}) ->
process_flag(trap_exit, true),
erlang:monitor(process, RemotePid), erlang:monitor(process, RemotePid),
?tp(ps_worker_started, #{ remote_pid => RemotePid ?tp(ps_worker_started, #{ remote_pid => RemotePid
, sid => SessionID }), , sid => SessionID }),