Skip to content
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

Fix possible memory leak #67

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

CyberFrenchie
Copy link

Added a cleanup_config_json_map() function that clears the GENERIC_JSON_CONVERTERS and CLASS_MAP dictionaries before loading new configurations. This prevents memory bloat by ensuring old class mappings are removed each time load_config_json_map() is called.

Added a cleanup_config_json_map() function that clears the GENERIC_JSON_CONVERTERS and CLASS_MAP dictionaries before loading new configurations. This prevents memory bloat by ensuring old class mappings are removed each time load_config_json_map() is called.
@CLAassistant
Copy link

CLAassistant commented Jan 9, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

sonarqubecloud bot commented Jan 9, 2025

tb06904
tb06904 previously approved these changes Feb 10, 2025
Copy link
Member

@tb06904 tb06904 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@tb06904
Copy link
Member

tb06904 commented Feb 11, 2025

Some white spacing issues from autopep8 that should be fixed. Please run and commit the following to fix:
autopep8 --exit-code -r -i -a -a --max-line-length 100 --ignore E402 .

@tb06904 tb06904 dismissed their stale review February 11, 2025 11:55

changes required

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.

4 participants