I have an Erlenmeyer flask that I recently used in a reaction, and even after washing and rinsing, there is still residue in the bottom on the sides of the flask that I cannot get with a brush. I have read that boiling water in glassware is effective for cleaning them, and want to know if it would be unsafe to place the flask (filled with water) inside a small cooking pan and heated on an electric stove. My reason for placing the flask inside a pan is that I have read that direct, or close to direct, contact with glassware on an heating coil can cause damage to the glassware.
EDIT: Not sure if this makes a difference but the flask is small (125mL).