Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Fix possible memory leak #67

Open
wants to merge 4 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!

cn337131
cn337131 previously approved these changes Feb 10, 2025
@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

Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants