pioneerspacesim/pioneer — pull request #3106 by fluffyfreak (2014-08-03 20:57:53+00:00)
Title: Fix an Exit Game widget crash.

Delay calling Pi::EndGame() until it's safe to do so by adding a bool and RequestEndGame method.

Prior to this the call to EndGame was destroying the UI which was calling the function which destroyed the UI!

I don't know how we got away with this working.