Skip to content

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