3

Why doesn't QApplication handle SIGTERM (and any other) signal and exit gracefully? Are there any good reasons not to do it?

groaner
  • 540
  • 4
  • 12
  • Does this answer your question? [QApplication: How to shutdown gracefully on Ctrl-C](https://stackoverflow.com/questions/2300401/qapplication-how-to-shutdown-gracefully-on-ctrl-c) – Scheff's Cat Jul 08 '20 at 07:26
  • 1
    The _Why_ might be addressed to the developers of Qt. If it isn't mentioned in the doc. [Calling Qt Functions From Unix Signal Handlers](https://doc.qt.io/qt-5/unix-signals.html), the best everybody else can do is guessing. – Scheff's Cat Jul 08 '20 at 07:30

0 Answers0