<div dir="ltr">All,<div>I'm experiencing a situation where a process spawned after a cowboy websocket handler upgrade request in <font face="monospace">init/2</font> has the process flag <font face="monospace">trap_exit</font> set to <font face="monospace">true</font>, without me doing anything to set it.</div><div><br></div><div>This happens in Elixir, not sure if this is related.<br></div><div><br></div><div><font face="monospace">def websocket_init(_state) do<br>    Logger.info("was trapping? #{Process.flag(:trap_exit, true)}")</font></div><div><br></div><div>=> this prints "was trapping? true"</div><div><br></div><div>Is this expected behaviour?<br></div><div><br></div><div>Thank you,</div><div>r.</div></div>