mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-24 04:33:17 +00:00
d52131e0d1
Since #2550, three command identity tests fail on Windows x64: TempDir cleanup cannot delete operation-receipts.db because the agent's command client still holds it open. Those tests never call run, so nothing closes the client that New built, and Windows refuses to delete an open file. Other platforms delete it anyway. Stop and close the command client in a harness cleanup. It is registered after the state TempDir, so it runs first, and Close is idempotent for the tests that do run the agent. Production already closes the client when Run exits or an identity supersedes it.