Files
hermes-agent/tools
kshitij 0044876a11 fix(browser): guard against concurrent expired-session replacement race
After cleaning up an expired cloud browser session, re-check under
_cleanup_lock whether another thread has already created a replacement.
If so, return the live replacement instead of falling through to create
yet another session (which would be orphaned, or worse, a second
concurrent cleanup could destroy the replacement).

Follow-up to helix4u's expired-session renewal fix in PR #76356.
2026-08-02 11:18:41 +05:30
..