mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 23:11:37 +08:00
Authored by alireza78a. When flock() raises on a concurrent tick, the file descriptor was leaked because the except clause returned without closing it. Adds lock_fd=None init and close in the except path.