dolphin-emu/dolphin — pull request #515 by Armada651 (2014-06-20 01:43:17+00:00)
Title: Make the emulation stop asynchronous to prevent deadlocks.

This PR moves the synchronisation to the last possible moment when we're already certain that the EmuThread has been shut down.

This change is a pre-requisite for PR #509.