Skip to content

One environment - #542

Merged
decahedron1 merged 6 commits into
mainfrom
one-env-for-real
Mar 3, 2026
Merged

decahedron1 merged 6 commits into
mainfrom
one-env-for-real

Conversation

@decahedron1

Copy link
Copy Markdown
Member

Create exactly one (1) environment throughout the entire duration of the process and release it when it is no longer used. Hopefully the last time I'll ever have to deal with this.

The old Weak<Environment> solution was flawed because it would create another environment after the old one was released, which is for some reason not allowed.

@decahedron1
decahedron1 merged commit 079ecb4 into main Mar 3, 2026
35 checks passed
@decahedron1
decahedron1 deleted the one-env-for-real branch March 3, 2026 19:11
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.

1 participant