Skip to content

Commit 6b9554a

Browse files
committed
[nfc] reorder comments
1 parent 9264732 commit 6b9554a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/textinput/src/textinput/TerminalConfigUnix.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,12 @@ TerminalConfigUnix::HandleSignal(int signum) {
106106
}
107107
}
108108

109-
// No previous handler found, re-raise to get default handling:
110-
if (signum == SIGTERM) { // gentle save and close if SIGTERM
109+
// gentle save and close if SIGTERM
110+
if (signum == SIGTERM) {
111111
TROOT::WriteCloseAllFiles();
112112
TROOT::CleanUpROOTAtExit();
113113
}
114+
// No previous handler found, re-raise to get default handling:
114115
signal(signum, SIG_DFL); // unregister ourselves
115116
raise(signum); // terminate through default handler
116117

0 commit comments

Comments
 (0)