I am making an application from which the user can choose to open several non-modal popup windows. The popup windows contain a .NET control. I believe because of this control the window takes a couple of seconds to close. This is not a problem if it happens "in the background", but it does not rather the main window freezes while any popup window is closing.
The popup window VIs are reentrant and are opened using Open VI Reference with option 0x80 and Start Asynchronous Call.
I understand .NET control by default runs in the UI thread, but Is there something I can do to have the main window unaffected by the closing of the popup windows?