KetraTerm
API · DevelopmentAll versions

dispose

fun dispose()

Permanently releases UI-side resources owned by this terminal component.

Hosts should call this when a terminal tab is closed. The bound session, if any, is unbound but remains host-owned. A disposed component must not be rebound to another session. Calls on the EDT take effect immediately; calls from other threads dispatch asynchronously to the EDT. Every owned cleanup is attempted before a failure or cancellation propagates on the EDT; later cleanup failures are suppressed on the first failure.