fix(persistent_sessions): add back the trap_exit
This commit is contained in:
parent
558416af1d
commit
99836b2660
|
@ -91,6 +91,7 @@ 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 }),
|
||||||
|
|
Loading…
Reference in New Issue