fix(persistent_sessions): add back the trap_exit

This commit is contained in:
Tobias Lindahl 2021-10-26 10:52:27 +02:00
parent 558416af1d
commit 99836b2660
1 changed files with 1 additions and 0 deletions

View File

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