The glass should crack within a second. If youve been waiting longer than a second, or if you start to see a dimple where the flame touched the glass, it will not crack.
In this case, what probably occurred is the flame grazed across the scratch, firepolishing the scratch. Once the scratch is removed from the glass, there is no flaw, and the glass cannot break.
4 of 8