Actors die from time to time. If their characters are not critical to the plot line, they get written out. If they are indispensable, the producers find a decent substitute and cross their fingers that the audience will go along.
I don't see any particular reason to keep an aging Princess Leia hobbling around. I mean, it's not like it's Jar Jar who died ....