Additionally, one can get a stove with flame detectors that shut the burner off if there is no flame (unless the user is also pressing the igniter button at the same time). Technically the defectors are pretty simple: they measure electrical resistance of the purported flame.