mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 01:21:43 +00:00
Authored by Farukest. Fixes #432. Extracts _kill_port_process() helper that uses netstat+taskkill on Windows and fuser on Linux. Previously, fuser calls were inline with bare except-pass, so on Windows orphaned bridge processes were never cleaned up — causing 'address already in use' errors on reconnect. Includes 5 tests covering both platforms, port matching edge cases, and exception suppression. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| discord.py | ||
| homeassistant.py | ||
| slack.py | ||
| telegram.py | ||
| whatsapp.py | ||