mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 04:31:34 +08:00
Prefer Exit() over OnExit() (#847)
This is a no-op patch, but prefered, because this centralize the exit path below `Exit()`.
This commit is contained in:
parent
014bdb4a05
commit
affa787244
@ -907,7 +907,7 @@ void ScreenInteractive::ExitNow() {
|
|||||||
// private:
|
// private:
|
||||||
void ScreenInteractive::Signal(int signal) {
|
void ScreenInteractive::Signal(int signal) {
|
||||||
if (signal == SIGABRT) {
|
if (signal == SIGABRT) {
|
||||||
OnExit();
|
Exit();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user