Bugfix: Subscribers of app events must be reset when restarting

This commit is contained in:
tsommer committed 2022-11-01 12:26:31 +01:00
1 parent c48466d91e
commit dfc0647fb0
2 files changed
+10 -1

No files matched your search

@@ -16,6 +16,7 @@ public partial class Main : UserControl
if(result == DialogResult.Yes)
{
Program.RestartMainApp = true;
AppEvents.ResetAllSubscriptions();
this.ParentForm!.Close();
}
}