Qt: allow "emergency" shutdown during startup #5032

pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:Qt_shutdown changing 1 files +1 −0
  1. Diapolo commented at 9:30 AM on October 2, 2014: none
    • allows closing our splash screen to abort startup

    Tested by closing via startup, which worked without a crash. But it can't currently interrupted when the client is verifying blocks!

  2. Qt: allow "emergency" shutdown during startup
    - allows closing our splash screen to abort startup
    4bd1185280
  3. laanwj commented at 9:34 AM on October 2, 2014: member

    This should be safe: it's the same behavior as hitting Ctrl-C during startup.

  4. laanwj commented at 10:10 AM on October 2, 2014: member

    The only thing I'm wondering is whether we should hide the splash in this case, after all, we go straight from startup to shutdown. (but having both the splash and shutdown window visible may be OK)

  5. Diapolo commented at 12:21 PM on October 3, 2014: none

    It'd be rather easy to hide the window, so just the shutdown window is visible... dunno what is best either.

  6. laanwj commented at 12:57 PM on October 3, 2014: member

    But there will be a hole between the time that the splash screen hides and the shutdown window shows (ie, detectShutdown is not immediate). Potentially only up to 200ms, but who knows what could extend it. Nah, let's just keep it like this. ACK.

  7. laanwj merged this on Oct 9, 2014
  8. laanwj closed this on Oct 9, 2014

  9. laanwj referenced this in commit fe36e031cd on Oct 9, 2014
  10. Diapolo deleted the branch on Oct 10, 2014
  11. MarcoFalke locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me