(err error)
| 412 | } |
| 413 | |
| 414 | func (rpty *screenReconnectingPTY) Close(err error) { |
| 415 | rpty.logger.Debug(context.Background(), "closing screen reconnecting pty", slog.Error(err)) |
| 416 | // The closing state change will be handled by the lifecycle. |
| 417 | rpty.state.setState(StateClosing, err) |
| 418 | } |