Skip to content

fix: add close() calls to test functions to prevent background thread leaks#55

Merged
fabien-marty merged 1 commit intomainfrom
main-361
Mar 6, 2026
Merged

fix: add close() calls to test functions to prevent background thread leaks#55
fabien-marty merged 1 commit intomainfrom
main-361

Conversation

@fabien-marty
Copy link
Copy Markdown
Owner

Summary

Test plan

  • make lint passes
  • make test passes (36/36 tests)

Made with Cursor

… leaks

Add cache.close() and storage.close() at the end of 21 test functions
that were creating Cache/Storage instances without cleaning up the
background ExpirationThread they start.

Closes #49

Made-with: Cursor
@fabien-marty fabien-marty merged commit cc68793 into main Mar 6, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests: Many test functions don't call close(), leaking background threads

1 participant