Earlier quoted context omitted.
When there's hundreds of drones raining down on your civilians every day, just disabling the production has a a higher priority than being cutesy with things that might work further away into the future.
In several cases during World War II, the Allies intentionally allowed German attacks to happen (or did not act to prevent them) to avoid revealing that they had cracked German codes, particularly the Enigma cipher.
The main claim for this myth is the sacrifice of Coventry during the Battle of Britain, but as far as I'm aware, historians are in general agreement that Ultra was unable to ascertain that Coventry was the target before the raid took place.