Session.Logout
This commit is contained in:
@@ -306,6 +306,7 @@
|
||||
<ComponentRef Id="WindreamLibs" />
|
||||
<ComponentRef Id="FormsUtilsLibs"/>
|
||||
<ComponentRef Id="DDLibs" />
|
||||
<ComponentRef Id="RuntimeLibs" />
|
||||
<ComponentRef Id="Oracle" />
|
||||
<ComponentRef Id="PDFsharp" />
|
||||
<ComponentRef Id="IndependentsoftLibs" />
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user