NFPA 96 spells out the requirements.

exhaust may stay running but make up air has to shut down.

ansul valve cuts off the gas.