Dispose the test backends in ContractHarness, JourneyRig and the AppBootstrap tests #212

Closed
opened 2026-10-27 01:10:18 -05:00 by ethan-hann · 1 comment
Owner

CoreBackend is now IDisposable and takes its git process registry off the exit list when disposed. BackendWorkspace disposes every backend it builds, but ContractHarness, JourneyRig and the AppBootstrap tests in Savepoint.App.Tests never dispose theirs, so their registries stay on the list until the test process exits and each costs a File.Exists at exit. Dispose them at the end of each test.

CoreBackend is now IDisposable and takes its git process registry off the exit list when disposed. BackendWorkspace disposes every backend it builds, but ContractHarness, JourneyRig and the AppBootstrap tests in Savepoint.App.Tests never dispose theirs, so their registries stay on the list until the test process exits and each costs a File.Exists at exit. Dispose them at the end of each test.
ethan-hann added this to the Code Cleanup milestone 2026-10-27 01:10:18 -05:00
Author
Owner

Shipped in 0.9.17 (PR 227).

Shipped in [0.9.17](https://git.tortal.tech/ethan-hann/SavePoint/releases/tag/v0.9.17) (PR 227).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#212
No description provided.