A Matter of Time

SG-10 is on a planet when its sun becomes a black hole, and the Stargate link back to Earth threatens to destroy first Stargate Command and then the entire planet.