mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-17 04:01:13 +00:00
Use a shared mutable holder for the POSIX PTY master fd and invalidate it before close. This keeps EOF cleanup and TTYSession.close()/kill() idempotent and prevents closing an unrelated resource if the OS reuses the old fd number. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| shell_local.py | ||
| shell_ssh.py | ||
| tty_session.py | ||