Ok I change the supply of lm339 to 12 volt. Then it is okThe absolute maximum operating voltage is 20v, and the recommended maximum is 18v.
When the LM339 output is off, there is 24v applied to the reset pins in your circuit.
My circuit uses the LM2596 as a 12v power supply.