If a plant senses enough smoke in the air it will close its stomata, which effectively puts it on pause. This can last anywhere from a few minutes to a few hours. So, it's never a good idea to smoke around the plants, but if you have adequate ventilation then it's probably a negligible concern.