Skip to content

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

Merged
kit-ty-kate merged 1 commit intoocaml:masterfrom
kit-ty-kate:in_opam
Jul 31, 2025
Merged

Do not keep log messages before initialization if the code is ran through a library#6487
kit-ty-kate merged 1 commit intoocaml:masterfrom
kit-ty-kate:in_opam

Conversation

@kit-ty-kate
Copy link
Copy Markdown
Member

Alternative to #6486

@hannesm
Copy link
Copy Markdown
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 :)

@kit-ty-kate kit-ty-kate merged commit b88339d into ocaml:master Jul 31, 2025
44 checks passed
@kit-ty-kate kit-ty-kate deleted the in_opam branch July 31, 2025 19:31
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

3 participants