From f5ca487158850f18d83b633a2213410b080740f8 Mon Sep 17 00:00:00 2001 From: Developer01 Date: Fri, 27 Mar 2026 13:50:30 +0100 Subject: [PATCH] Session.Logout --- app/SetupVS19/Product.wxs | 1 + app/TaskFlow/frmMain.vb | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/SetupVS19/Product.wxs b/app/SetupVS19/Product.wxs index 79bf3a2..07bc6c0 100644 --- a/app/SetupVS19/Product.wxs +++ b/app/SetupVS19/Product.wxs @@ -306,6 +306,7 @@ + diff --git a/app/TaskFlow/frmMain.vb b/app/TaskFlow/frmMain.vb index 77451b9..2b66c02 100644 --- a/app/TaskFlow/frmMain.vb +++ b/app/TaskFlow/frmMain.vb @@ -3307,13 +3307,13 @@ FROM VWPM_PROFILE_ACTIVE T WHERE T.GUID IN (SELECT PROFILE_ID FROM [dbo].[FNPM_G _FormValidator.Close() End If If Not IsNothing(WINDREAM_MOD) And IDB_ACTIVE = False Then - LOGGER.Debug("Closing frmMain - Now closing WINDREAM_MOD...") + LOGGER.Debug("Closing frmMain - Now logging out...") Try - WINDREAM_MOD.Session.dispose() - LOGGER.Debug("WINDREAM_MOD Session disposed successfully.") + WINDREAM_MOD.Session.Logout() + LOGGER.Debug("WINDREAM_MOD Session logged out successfully.") Catch ex As Exception - LOGGER.Warn("Error while disposing WINDREAM_MOD Session: {0}", ex.Message) + LOGGER.Warn("Error while logging out WINDREAM_MOD Session: {0}", ex.Message) LOGGER.Error(ex) End Try