We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9264732 commit 6b9554aCopy full SHA for 6b9554a
core/textinput/src/textinput/TerminalConfigUnix.cpp
@@ -106,11 +106,12 @@ TerminalConfigUnix::HandleSignal(int signum) {
106
}
107
108
109
- // No previous handler found, re-raise to get default handling:
110
- if (signum == SIGTERM) { // gentle save and close if SIGTERM
+ // gentle save and close if SIGTERM
+ if (signum == SIGTERM) {
111
TROOT::WriteCloseAllFiles();
112
TROOT::CleanUpROOTAtExit();
113
114
+ // No previous handler found, re-raise to get default handling:
115
signal(signum, SIG_DFL); // unregister ourselves
116
raise(signum); // terminate through default handler
117
0 commit comments