This commit is contained in:
Developer01
2026-03-27 12:48:25 +01:00
parent cb51396952
commit 73e69b3eef
6 changed files with 83 additions and 46 deletions

View File

@@ -3306,6 +3306,19 @@ FROM VWPM_PROFILE_ACTIVE T WHERE T.GUID IN (SELECT PROFILE_ID FROM [dbo].[FNPM_G
If Application.OpenForms().OfType(Of frmValidator).Any Then
_FormValidator.Close()
End If
If Not IsNothing(WINDREAM_MOD) And IDB_ACTIVE = False Then
LOGGER.Debug("Closing frmMain - Now closing WINDREAM_MOD...")
Try
WINDREAM_MOD.Session.dispose()
LOGGER.Debug("WINDREAM_MOD Session disposed successfully.")
Catch ex As Exception
LOGGER.Warn("Error while disposing WINDREAM_MOD Session: {0}", ex.Message)
LOGGER.Error(ex)
End Try
End If
End Sub