The last thing you want as a seller is to be under contract and then have the buyer back out because of the inspection. Although many items are fixable, they could overwhelm the buyer and cause serious second thoughts.
It’s best to start early and do your own mini-inspection so you know what issues are present and can correct them. The fewer obstacles you put in front of the buyer, the smoother the whole selling process.