The set of Equipment to be destroyed is determined only as Corrosive Ooze’s delayed triggered ability resolves at the end of combat. The Equipment will be destroyed even if Corrosive Ooze leaves the battlefield before that time.

Artwork
Loading artwork…
Corrosive Ooze
Dominaria · #158 · EN
Nonfoil—Foil—
Card rules
Whenever this creature blocks or becomes blocked by an equipped creature, destroy all Equipment attached to that creature at end of combat.
2/2
Nothing tastes finer to an ooze than a priceless family heirloom.
Common · Illustrated by Daniel Ljunggren
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the creature Corrosive Ooze blocks or is blocking leaves the battlefield, the Equipment that was attached to that creature immediately before it left the battlefield will be destroyed as Corrosive Ooze’s delayed triggered ability resolves at the end of combat.