my limited understanding is, these gas hobs stay on when the peg at side of flame get warm when holding button in, once warm the buttons released, hob stays on, this peg and heat 'somehow' keeps the gas safety valve open,
its the 'somehow' you need investigating..
sorry not much help..