From ae3f8043e0465600c41016583992273e5abb8083 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Fri, 2 Jun 2023 14:25:17 +0200 Subject: [PATCH] Bugfix: not cleanup done of h5 dataset in recording. That might be problematic --- src/lasp/lasp_record.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lasp/lasp_record.py b/src/lasp/lasp_record.py index 627c1ef..243a687 100644 --- a/src/lasp/lasp_record.py +++ b/src/lasp/lasp_record.py @@ -218,6 +218,10 @@ class Recording: # from StreamMgr. self.indh = None + # Remove handle to dataset otherwise the h5 file is not closed + # properly. + self.ad = None + try: # Close the recording file self.f.close()