From 99894e7504532969e5a88f849fb49286d3187d24 Mon Sep 17 00:00:00 2001 From: Tobias Kremer Date: Wed, 18 Feb 2026 18:49:12 +0100 Subject: [PATCH] BugFix: Close all FDBFileHandle on TocStore destruction https://jira.ecmwf.int/browse/ECKIT-670 is refering to the issue. The main issue is that FDBFileHandles weren't closed and leaked across several executions of tests with a shared, long-living FDB. --- src/fdb5/toc/TocStore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fdb5/toc/TocStore.h b/src/fdb5/toc/TocStore.h index 84b837904..ab3725fef 100644 --- a/src/fdb5/toc/TocStore.h +++ b/src/fdb5/toc/TocStore.h @@ -39,7 +39,7 @@ class TocStore : public Store, public TocCommon { TocStore(const Key& key, const Config& config); - ~TocStore() override {} + ~TocStore() override { close(); } eckit::URI uri() const override; bool uriBelongs(const eckit::URI&) const override;