shellcorona: delete containments in a for loop
as there is always the possibility destroy is a no-op, iterate over containments with a for loop rather than a while
as there is always the possibility destroy is a no-op, iterate over containments with a for loop rather than a while