Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datadir: fix unreleased lock on global.xml starting off an empt datadir
`DataDirectoryUpdateSequence` initializes `GeoServerInfo` if not present with a zero'ed `updateSequence`. In doing so, it was loading the `global.xml` through `Resource.in():InputStream`, which in turn automatically acquires a lock on the resource, but it was not closing it, which releases the lock.
- Loading branch information