That is the nightmare scenario of course, and may eventually come true. 'Eventually' being the optimal world. We have no idea when. Do not be to concerned though, there are many other astronomical phenomenon that will probably destroy earth first.
"A STAR primed to explode in a blast that could wipe out the Earth was revealed by astronomers yesterday.
It will self-destruct in an explosion called a supernova with the force of 20 billion billion billion megatons of TNT.
New studies show the star, called T Pyxidis, is much closer than previously thought at 3,260 light-years away - a short hop in galactic terms.
So the blast from the thermonuclear explosion could strip away our ozone layer that keeps out deadly space radiation. Life on Earth would then be frazzled."