I think this is unnecessary.  _voxelModeActionsGroup is created with the Menu instance as its parent, so when the Menu is deleted, _voxelModeActionsGroup will be as well.