-
Notifications
You must be signed in to change notification settings - Fork 293
Closed
Description
If you are reporting bug/issue, please provide detailed Repro instructions.
Repro Steps
- Open Visual Studio and create a new WPF application
- Add the "Microsoft.ApplicationInsights.WindowsServer" NuGet package, v2.9.0-beta3 or v2.9.0 (final)
- Add the following line into MainWindow's constructor:
TelemetryConfiguration.Active.InstrumentationKey = "";(per instructions on https://docs.microsoft.com/en-us/azure/azure-monitor/app/windows-services#4-send-telemetry) - Press F5 to start the application, then exit it by clicking the "X" on the application window
Actual Behavior
Window closes but application doesn't terminate.
Expected Behavior
Application fully terminates.
Version Info
SDK Version : 2.9.0 beta 3 or newer (beta 2 or older, like v2.8.1, don't have this issue)
.NET Version : 4.7.2
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) : Visual Studio
OS : Windows 10 1803
Hosting Info (IIS/Azure WebApps/ etc) : N/A