No, that's not it. After 40, you just need to walk around and reset the Poke Radar so the patches of grass will shake again, because walking into a patch could break your chain and give no benefit since the highest chance of getting a shiny is at chain 40 and doesn't increase after that. Resetting the radar doesn't break your chain.
I don't remember in DPPt, but in X&Y even when you encounter a shiny your chain won't break, it'll just reset your chances of finding a shiny.