Of course, the best way is to prevent mold on a tent from occurring by airing, cleaning and storing it appropriately. When doing this I've never had any issues.
However, there may well be cases where ...