Skip to content

scripts: build: Fix west build resource leaks #93121

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

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

Conversation

decsny
Copy link
Member

@decsny decsny commented Jul 14, 2025

Some files were being left open which was generating python sys module warnings about resource leaks when doing west build

fabiobaltieri
fabiobaltieri previously approved these changes Jul 14, 2025
decsny added 2 commits July 15, 2025 09:16
The files should be closed after done being used, otherwise python
warnings are generated from the sys module

Signed-off-by: Declan Snyder <[email protected]>
The elf file needs to be closed after done being used, otherwise sys
module will generate resource leak warnings.

Signed-off-by: Declan Snyder <[email protected]>
@decsny decsny force-pushed the fix/west_build_resource_leaks branch from e1bb036 to aaedbc0 Compare July 15, 2025 14:26
Copy link

@decsny decsny changed the title Fix west build resource leaks scripts: build: Fix west build resource leaks Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants