mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
The realtime harness cancelled its module scope but never stopped the recorder, and cancelling a scope does not uninstall a running recorder's globally installed FileLogger. A test that started a recording therefore left one writing into every test that followed, and an assertion failing before the explicit stop did the same. The harness now stops the module in a nested finally and fails its own test if a file logger survived, removing the straggler afterwards so a single leak cannot cascade. The tracked-recording test gets the same finally treatment.