This commit is contained in:
love-code-yeyixiao 2024-08-26 20:07:46 +08:00
parent 2eaaf3691a
commit b3bb55bf9f
1 changed files with 2 additions and 1 deletions

View File

@ -1315,7 +1315,8 @@ void CSandMan::OnRestartAsAdmin()
se.nShow = SW_HIDE;
se.fMask = 0;
ShellExecuteEx(&se);
OnExit();
m_bExit = true;
close();
}
void CSandMan::OnExit()