这是indexloc提供的服务,不要输入任何密码
Skip to content

Clear the cache with reset #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 22, 2025
Merged

Clear the cache with reset #62

merged 2 commits into from
Feb 22, 2025

Conversation

aazuspan
Copy link
Owner

@aazuspan aazuspan commented Feb 22, 2025

Description

eerepr.reset() now clears the cache immediately, instead of waiting for eerepr.initialize() and the garbage collector to do it.

Checklist

  • I have updated the CHANGELOG with any added features, changes, fixes, or removals.

The cache was already reset and would be cleared by the GC when you
re-initialize anyways, but we might as well clear it explicitly
on `reset`.
@aazuspan aazuspan added the enhancement New feature or request label Feb 22, 2025
@aazuspan aazuspan self-assigned this Feb 22, 2025
@aazuspan aazuspan merged commit bb33dbf into main Feb 22, 2025
6 checks passed
@aazuspan aazuspan deleted the reset-cache branch February 22, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant