Files
hermes-agent/tools
Davy ee62a4b5f6 fix(browser): atexit hooks stay silent when the origin module is unimportable
Mid-hermes update the on-disk tree can be half-new (new config.py
importing a name the old utils.py lacks yet), so the fresh import in
origin_module raises ImportError and both atexit callbacks print
'Exception ignored in atexit callback' tracebacks. Guard the
origin-state accesses at the top of both entry points: an unresolvable
origin means no session state to clean.

Fixes #112437
2026-09-16 16:57:03 -07:00
..