-
Given that the referendum is only advisory, a winner of a general election who had specifically campaigned on a platform of staying in would be well within their rights to ignore it.
And any government after that would have to think about putting it to a referendum again, as the legitimacy of this one would have run its course. Hence to an extent the number crunching that I'm trying to do to see how long this can be counted as legitimate for...
Whoever gets in could say "we shall leave the article 50 notice to the winner of the general election", breathing a sigh of relief that they have (potentially) a stay of execution, and then if the other team gets in (although vide the current debacle of the PLP, this may be unlikely) they could state that it's against their principles. Dunno how that plays into the "majority of the people have voted" aspect, but if you campaigned on remain that would add legitimacy.