Even with gas you shouldn't have the flame directly on the glass, its best to use a Ceramic Wire Gauze square between them. They're cheap and it also helps so the heat doesn't concentrate on one area on the bottom of the flask.
Here's one from United Nuclear, I'm sure you can find different...