I have a window that receives asynchronous events from a worker thread. Sometimes these events come in after the window is closed and when I call Invoke() to process the event, I get an exception.
How can I test to make sure the window is still good. Or to cause all events to be processed somewhere in the closing lifecycle?
thanks - dave