diff options
Diffstat (limited to 'src/test/burn/TestBA/TestBA.cs')
-rw-r--r-- | src/test/burn/TestBA/TestBA.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/burn/TestBA/TestBA.cs b/src/test/burn/TestBA/TestBA.cs index b4d74341..5f492efd 100644 --- a/src/test/burn/TestBA/TestBA.cs +++ b/src/test/burn/TestBA/TestBA.cs | |||
@@ -531,15 +531,6 @@ namespace WixToolset.Test.BA | |||
531 | this.ShutdownUiThread(); | 531 | this.ShutdownUiThread(); |
532 | } | 532 | } |
533 | 533 | ||
534 | protected override void OnSystemShutdown(SystemShutdownEventArgs args) | ||
535 | { | ||
536 | // Always prevent shutdown. | ||
537 | this.Log("Disallowed system request to shut down the bootstrapper application."); | ||
538 | args.Cancel = true; | ||
539 | |||
540 | this.ShutdownUiThread(); | ||
541 | } | ||
542 | |||
543 | protected override void OnUnregisterBegin(UnregisterBeginEventArgs args) | 534 | protected override void OnUnregisterBegin(UnregisterBeginEventArgs args) |
544 | { | 535 | { |
545 | if (this.forceKeepRegistration && args.RegistrationType == RegistrationType.None) | 536 | if (this.forceKeepRegistration && args.RegistrationType == RegistrationType.None) |