If I understand correctly, you must be spraying in a closet or cabinet. You don’t have to spray the entire wood surface; just around the edges. Once the product is dry (you don’t wipe it off) it will be safe.