Dogs, depends on the unit fitted. Most newer/smaller aircraft have chemical units which when started will run until the chemical reaction generated by pulling the mask stops... ergo no (correct) pull on the mask, no oxy...
Gaseous systems (many 747, and A380) normally only run during a depressurisation, and can be stopped by reinserting a pin into the unit...