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:
Clancy Walters 2024-04-27 19:32:46 +10:00 committed by GitHub
parent 014bdb4a05
commit affa787244
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -907,7 +907,7 @@ void ScreenInteractive::ExitNow() {
// private:
void ScreenInteractive::Signal(int signal) {
if (signal == SIGABRT) {
OnExit();
Exit();
return;
}