Update WINDREAM references and ensure session logout on close
- Updated Interop.WINDREAMLib and Interop.WMOTOOLLib references to new paths and set EmbedInteropTypes as needed in Global_Indexer.vbproj. - Added logic to frmStart.vb to log out of windream session on form close if logged in, with appropriate logging. - Marked frmSQL_Admin.resx as a Designer resource. - No functional changes to frmSQL_DESIGNER.resx.
This commit is contained in:
@@ -157,6 +157,17 @@ Public Class frmStart
|
||||
Catch ex As Exception
|
||||
LOGGER.Error(ex)
|
||||
End Try
|
||||
|
||||
If Not IsNothing(WINDREAM) AndAlso WINDREAM.SessionLoggedin = True Then
|
||||
LOGGER.Debug("Closing frmStart - Now logging out of windream session...")
|
||||
Try
|
||||
WINDREAM.Session.Logout()
|
||||
LOGGER.Debug("windream session logged out successfully.")
|
||||
Catch ex As Exception
|
||||
LOGGER.Warn("Error while logging out windream session: " & ex.Message)
|
||||
LOGGER.Error(ex)
|
||||
End Try
|
||||
End If
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
|
||||
Reference in New Issue
Block a user