Installed near easily leakable parts such as gas pipelines, valves and flanges, the detector will give an audible and visual alarm once combustible gas leakage is detected, and actuate the solenoid valve or gas shut-off manipulator to cut off the gas supply.