What is your shutdown mode? If it’s explicit, then it’s because you’re not explicitly shutting down. If it’s main window, it’s because you’ve not assigned the main window to Application.MainWindow.
What is your shutdown mode? If it’s explicit, then it’s because you’re not explicitly shutting down. If it’s main window, it’s because you’ve not assigned the main window to Application.MainWindow.