method and apparatus for detecting the presence of or removing chlorine in a gaseous product stream from a chlorine dioxide generator by mixing gaseous ammonia or ammonia vapors with the product stream and either observing smoke generated by the reaction of ammonia with any chlorine present in the chlorine dioxide product stream or separating reaction products from the chlorine dioxide .