Release mapping resources when deleting a GEM object