I have been investigating this issue and can reproduce the problem with a minimal console application which starts a simple WPF window application and then closes it again. It does not exhibit this behavior simply opening and closing the application. It does not exhibit the behavior when finding and clicking a WPF button. However it does exhibit it when finding a 3rd party control (but taking no further action on that control). The 3rd party control we are using is an Actipro docking control. To reproduce: Sample WPF application and a sample Console application are attached to the internal bug description.