Skip to content

Commit 26a85f7

Browse files
AI Agentfranzpoeschel
authored andcommitted
HDF5 IO: apply defer pattern to remaining functions
Apply the defer RAII pattern to ensure HDF5 resources are properly closed when exceptions occur in createPath, createDataset, openPath, openDataset, deletePath, deleteDataset, writeAttribute, and readDataset. Uses auxiliary::defer to register cleanup callbacks that run automatically when functions exit, even on exceptions.
1 parent 8d20d17 commit 26a85f7

1 file changed

Lines changed: 256 additions & 186 deletions

File tree

0 commit comments

Comments
 (0)