We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee24925 commit 505616eCopy full SHA for 505616e
Source/ExcelDna.IntelliSense/UIMonitor/UIMonitor.cs
@@ -32,6 +32,8 @@ public UIMonitor(SynchronizationContext syncContextMain)
32
// Make a separate thread and set to MTA, according to: https://msdn.microsoft.com/en-us/library/windows/desktop/ee671692%28v=vs.85%29.aspx
33
// This thread was initially intended for UI Automation calls, particularly adding and removing event handlers.
34
var threadAuto = new Thread(RunUIAutomation);
35
+ threadAuto.IsBackground = true;
36
+ threadAuto.Name = "ExcelDna.Intellisense.WatcherThread";
37
threadAuto.SetApartmentState(ApartmentState.MTA);
38
threadAuto.Start();
39
}
0 commit comments