nix icon indicating copy to clipboard operation
nix copied to clipboard

Zombie group on entity creation if an exception is thrown

Open gicmo opened this issue 8 years ago • 0 comments

As @stoewer discovered during pr #530: When we create a new entity (e.g. BlockHDF5), the parent (e.g. FileHDF5) creates the group, then passes this group to the BlockHDF5 constructor which initialises it (sets attributes, etc.). In the (unlikely, but not impossible) case that an exception gets thrown the group is not clean up after.

gicmo avatar Sep 16 '15 08:09 gicmo