Skip to content
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

Navigator: close the LMDB.Environment on finalize(_:_:_:) #646

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

compnerd
Copy link
Member

Ensure that we close the LMDB environment on the exit from finalize(_:_:_:) method. This is important for platforms which do not permit alteration of directories with open references. Having the environment be closed after finalization enables the generated index to be moved into the final destination on Windows.

Ensure that we close the LMDB environment on the exit from
`finalize(_:_:_:)` method.  This is important for platforms which do not
permit alteration of directories with open references.  Having the
environment be closed after finalization enables the generated index to
be moved into the final destination on Windows.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit 2026dcc into swiftlang:main Jun 26, 2023
@compnerd compnerd deleted the finalization branch June 26, 2023 16:40
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.

2 participants