1.14.7
This commit is contained in:
parent
230ebf094b
commit
b576bb0e1e
|
@ -1321,6 +1321,11 @@ void CSandMan::OnRestartAsAdmin()
|
|||
void CSandMan::OnExit()
|
||||
{
|
||||
m_bExit = true;
|
||||
if (theConf->GetBool("TerminateWhenExit", false)) {
|
||||
if (theAPI->IsConnected()) {
|
||||
theAPI->TerminateAll(!theConf->GetBool("ExceptWhenAutoTerminate", false));
|
||||
}
|
||||
}
|
||||
close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue