[fix] #626034: Properly handle Form.Dispose to not close other visible forms.
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>
Mon, 9 Aug 2010 21:00:51 +0000 (23:00 +0200)
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>
Mon, 9 Aug 2010 21:30:07 +0000 (23:30 +0200)
commitf6eec0d811325089c9638df5c6fa3ce16af9de20
treeb89262f460d30dfb49a4295108df7ea59972e07a
parent615ce3d0a830a69e0ac52086ca6d1ff3004dfc02
[fix] #626034: Properly handle Form.Dispose to not close other visible forms.

* Application.cs: At the end of the message loop in RunLoop
don't break the loop if the Form handle has been destroyed already -
which means that we *need* to wait for WM_QUIT and handle it
properly instead, so it doesn't end up affecting other forms.
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs