ExTermbox.PortHandler.PortExitHandler (ExTermbox v1.1.4)
View SourceHandles Port exit ({:EXIT, port, reason}
) messages for ExTermbox.PortHandler
.
Summary
Functions
Handles the unexpected termination of the underlying C port process.
Functions
Handles the unexpected termination of the underlying C port process.
It logs the error, updates the state to reflect the failure, notifies the owner,
attempts to reply with an error to any pending caller, cleans up the socket,
and returns a :stop
tuple for the PortHandler GenServer.