The solution is pre implantation genetic diagnosis. Eggs are fertilized in vitro, screened, and only the healthy embryos are implanted back in mothers.
This has been a procedure for about 25 years. It ends the inheritance of the disease in that family forever.