As Gordon says, her basic ESA should continue, it is just the income-related 'top up' that should stop. It is only if she exceeded 365 days outside the Support Group that the claim would become wholly income-related and not payable due to the pension income.
Nothing on this board constitutes legal advice - always consult a professional about specific problems