Skip to content

Commit

Permalink
Fix: Add back iteration.close() call (#1641)
Browse files Browse the repository at this point in the history
Accidentally deleted as part of #1626
  • Loading branch information
franzpoeschel authored Jun 25, 2024
1 parent 3daaa14 commit 7f5c33d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/binding/python/openpmd_api/pipe/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ def __copy(self, src, dest, current_path="/data/"):
deferred.dynamicView.current_buffer(), deferred.offset,
deferred.extent)
in_iteration.close()
out_iteration.close()
self.loads.clear()
sys.stdout.flush()
elif isinstance(src, io.Record_Component) and (not is_container
Expand Down

0 comments on commit 7f5c33d

Please sign in to comment.