Skip to content

Make sure Git resources are released before git_libgit2_shutdown

Marco Clemencic requested to merge fix-git-entity-resolver-segfault into master

It may happen (in some error condition) that finalize() is skipped, in which case the Git resources might not be released before ~GitEntityResolver, so it's important to ensure they are released to avoid a segfault.

This is a port of LHCb!4032 (merged)

Merge request reports