bitcoin/bitcoin — pull request #1209 by laanwj (2012-05-06 06:30:43+00:00)
Title: Hide UI immediately after leaving the main loop

Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.