ExTermbox.PortHandler.TerminationHandler (ExTermbox v1.1.5)

View Source

Handles the terminate/2 callback for ExTermbox.PortHandler.

Summary

Functions

Handles the termination of the PortHandler GenServer. Ensures resources like the port and socket are cleaned up. Notifies the owner and replies to pending calls on abnormal termination.

Functions

terminate(reason, state)

Handles the termination of the PortHandler GenServer. Ensures resources like the port and socket are cleaned up. Notifies the owner and replies to pending calls on abnormal termination.