Gummy Bear in Potassium Chloride

I know that a chemical reaction occurred because heat was released, and bubbles were formed. The balanced chemical reaction is C6H12O6 + 6O2 --> 6CO2 + 6H2O.
Exploding Gummi Bear and Potassium Chlorate