Skip to content

Do not keep log messages before initialization if the code is ran through a library #6487

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 1 commit into
base: master
Choose a base branch
from

Conversation

kit-ty-kate
Copy link
Member

Alternative to #6486

@hannesm
Copy link
Member

hannesm commented Apr 30, 2025

I'm fine with this as well (and closing #6486). I'm a bit nervous adding even more mutable state to the codebase, but as said, it looks fine :)

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.

BUG/memory usage: OpamConsole.log and OpamFile.Stats
2 participants