* AsyncMethodData.cs: add a slot for the window handle.
* XplatUIX11.cs (SendAsyncMethod): send the event to the right
window (the destination control's window, not the foster window).
* Control.cs (BeginInvokeInternal): store the window's handle in
the AsyncMethodData.
svn path=/trunk/mcs/; revision=64448
* WaitOne
* AsyncMethodResult.cs: We no longer use a WeakReference for the
AsyncMethodResult, this is because we ALWAYS want the
ManualResetEvent to get set.
* Control.cs: When disposing use an async invoke to call
* shutdown
code, so that thigns don't block on the finalizer thread. Also
check if we even have a message loop before trying to send
messages, if we don't then don't bother sending messages.
- No more weak references for async methods
* XplatUIDriver.cs: No more weak references for async methods.
svn path=/trunk/mcs/; revision=55121