Stop showing the exit dialog in Linux on unhandled exceptions

This commit is contained in:
MikeMaximus
2019-03-21 13:59:50 -06:00
parent 02c2aeff67
commit 56f60b7685
2 changed files with 9 additions and 11 deletions
+4 -8
View File
@@ -1976,11 +1976,6 @@ Public Class frmMain
End Sub End Sub
Private Sub Main_FormClosing(sender As System.Object, e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing Private Sub Main_FormClosing(sender As System.Object, e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
'Unix Handler
If mgrCommon.IsUnix And Not bShutdown Then
ShutdownApp()
End If
Select Case e.CloseReason Select Case e.CloseReason
Case CloseReason.UserClosing Case CloseReason.UserClosing
If bShutdown = False Then If bShutdown = False Then
@@ -1991,12 +1986,13 @@ Public Class frmMain
Me.WindowState = FormWindowState.Minimized Me.WindowState = FormWindowState.Minimized
Me.ShowInTaskbar = False Me.ShowInTaskbar = False
Me.Visible = False Me.Visible = False
Else
ShutdownApp()
End If End If
End If End If
Case CloseReason.TaskManagerClosing, CloseReason.WindowsShutDown Case Else
'Do nothing and let the app close without warning ShutdownApp(False)
End Select End Select
End Sub End Sub
Private Sub AutoRestoreEventProcessor(myObject As Object, ByVal myEventArgs As EventArgs) Handles tmRestoreCheck.Elapsed Private Sub AutoRestoreEventProcessor(myObject As Object, ByVal myEventArgs As EventArgs) Handles tmRestoreCheck.Elapsed
+5 -3
View File
@@ -2,7 +2,7 @@ Game Backup Monitor v1.1.8 Readme
http://mikemaximus.github.io/gbm-web/ http://mikemaximus.github.io/gbm-web/
gamebackupmonitor@gmail.com gamebackupmonitor@gmail.com
March 10, 2019 March 21, 2019
New in 1.1.8 New in 1.1.8
@@ -24,7 +24,8 @@ All Platforms:
- The disk space check prior to backups can now be disabled in the "Backup and Restore" settings. - The disk space check prior to backups can now be disabled in the "Backup and Restore" settings.
- Added "Operating System" field to game configurations: - Added "Operating System" field to game configurations:
- "Windows" and "Linux" are the only valid choices at this time and only Linux users are allowed to change this field. - "Windows" and "Linux" are the only valid choices at this time and only Linux users are allowed to change this field.
- Re-designed how GBM initilizes on startup. - Changed how GBM initilizes on startup to fix some long standing issues.
- Fixed some inconsistencies with form icons and when forms are shown in the task bar.
Windows: Windows:
@@ -42,6 +43,7 @@ Linux:
- This data can be viewed and manually modified on the Game Manager. - This data can be viewed and manually modified on the Game Manager.
- Fixed the handling of Wine/Proton games when multiple configurations are detected. - Fixed the handling of Wine/Proton games when multiple configurations are detected.
- Fixed a crash when using "Backup Only" and "New Backups Pending" filters on the Game Manager. - Fixed a crash when using "Backup Only" and "New Backups Pending" filters on the Game Manager.
- The Mono and GBM process will now exit cleanly if a critical failure occurs during startup. - The Mono and GBM process will now exit cleanly if a critical error occurs during startup.
- GBM will no longer show the exit dialog when a critical error occurs.
The entire version history of GBM releases is available at http://mikemaximus.github.io/gbm-web/versionhistory.html The entire version history of GBM releases is available at http://mikemaximus.github.io/gbm-web/versionhistory.html