mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-10-06 03:53:21 +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:
|
||||
void ScreenInteractive::Signal(int signal) {
|
||||
if (signal == SIGABRT) {
|
||||
OnExit();
|
||||
Exit();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user