It burns until you shut off the gas.

And since in this game engine, poison gas explodes when lit...

Or basically what 4verse said.