dr recommending weaning because pregnant again

Anyone's dr recomend they wean their baby because they are pregnant? My son is 8 months and I'm 8 weeks pregnant with #2. I was really hoping to make it a year.