Session.Logout

This commit is contained in:
Developer01
2026-03-27 13:50:30 +01:00
parent 73e69b3eef
commit f5ca487158
2 changed files with 5 additions and 4 deletions

View File

@@ -306,6 +306,7 @@
<ComponentRef Id="WindreamLibs" /> <ComponentRef Id="WindreamLibs" />
<ComponentRef Id="FormsUtilsLibs"/> <ComponentRef Id="FormsUtilsLibs"/>
<ComponentRef Id="DDLibs" /> <ComponentRef Id="DDLibs" />
<ComponentRef Id="RuntimeLibs" />
<ComponentRef Id="Oracle" /> <ComponentRef Id="Oracle" />
<ComponentRef Id="PDFsharp" /> <ComponentRef Id="PDFsharp" />
<ComponentRef Id="IndependentsoftLibs" /> <ComponentRef Id="IndependentsoftLibs" />

View File

@@ -3307,13 +3307,13 @@ FROM VWPM_PROFILE_ACTIVE T WHERE T.GUID IN (SELECT PROFILE_ID FROM [dbo].[FNPM_G
_FormValidator.Close() _FormValidator.Close()
End If End If
If Not IsNothing(WINDREAM_MOD) And IDB_ACTIVE = False Then 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 Try
WINDREAM_MOD.Session.dispose() WINDREAM_MOD.Session.Logout()
LOGGER.Debug("WINDREAM_MOD Session disposed successfully.") LOGGER.Debug("WINDREAM_MOD Session logged out successfully.")
Catch ex As Exception 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) LOGGER.Error(ex)
End Try End Try