File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2181,6 +2181,8 @@ public async void StartDumping()
21812181 }
21822182 else
21832183 {
2184+ // Re-allow quick exiting
2185+ AskBeforeQuit = false ;
21842186 return ;
21852187 }
21862188 }
@@ -2189,7 +2191,11 @@ public async void StartDumping()
21892191 {
21902192 // Run pre-dumping validation checks
21912193 if ( ! ValidateBeforeDumping ( ) )
2194+ {
2195+ // Re-allow quick exiting
2196+ AskBeforeQuit = false ;
21922197 return ;
2198+ }
21932199
21942200 // Disable all UI elements apart from dumping button
21952201 DisableAllUIElements ( ) ;
@@ -2218,6 +2224,9 @@ public async void StartDumping()
22182224 LogLn ( "No dumping command was run, submission information will not be gathered." ) ;
22192225 Status = "Execution complete!" ;
22202226
2227+ // Re-allow quick exiting
2228+ AskBeforeQuit = false ;
2229+
22212230 // Reset all UI elements
22222231 EnableAllUIElements ( ) ;
22232232 return ;
@@ -2244,7 +2253,7 @@ public async void StartDumping()
22442253 }
22452254 finally
22462255 {
2247- // Reallow quick exiting
2256+ // Re-allow quick exiting
22482257 AskBeforeQuit = false ;
22492258
22502259 // Reset all UI elements
You can’t perform that action at this time.
0 commit comments