From 600ba73f5f7eb4eab693838e8ac2cda07d3c1216 Mon Sep 17 00:00:00 2001 From: xRushG <145561288+xRushG@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:29:01 +0200 Subject: [PATCH] Removed the deprecated SaveConnectionsOnExit option from the registry settings related to startup and exit. --- mRemoteNG/App/Shutdown.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mRemoteNG/App/Shutdown.cs b/mRemoteNG/App/Shutdown.cs index da4a8894..f577c8f4 100644 --- a/mRemoteNG/App/Shutdown.cs +++ b/mRemoteNG/App/Shutdown.cs @@ -67,8 +67,7 @@ namespace mRemoteNG.App DateTime updateDate; DateTime currentDate = DateTime.Now; - //OBSOLETE: Settings.Default.SaveConsOnExit is obsolete and should be removed in a future release - if (Properties.OptionsStartupExitPage.Default.SaveConnectionsOnExit || (Properties.OptionsBackupPage.Default.SaveConnectionsFrequency == (int)ConnectionsBackupFrequencyEnum.OnExit)) + if ((Properties.OptionsBackupPage.Default.SaveConnectionsFrequency == (int)ConnectionsBackupFrequencyEnum.OnExit)) { Runtime.ConnectionsService.SaveConnections(); return;