Bugfix: not cleanup done of h5 dataset in recording. That might be problematic
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Anne de Jong 2023-06-02 14:25:17 +02:00
parent 43cf2427ea
commit ae3f8043e0
1 changed files with 4 additions and 0 deletions

View File

@ -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()