Tweaked Util::Procs exit handler timings.
This commit is contained in:
parent
2730aee682
commit
06f023f3df
1 changed files with 4 additions and 4 deletions
|
@ -31,8 +31,8 @@ bool Util::Procs::handler_set = false;
|
||||||
void Util::Procs::exit_handler(){
|
void Util::Procs::exit_handler(){
|
||||||
int waiting = 0;
|
int waiting = 0;
|
||||||
while ( !plist.empty()){
|
while ( !plist.empty()){
|
||||||
Util::sleep(500);
|
Util::sleep(100);
|
||||||
if (++waiting > 5){
|
if (++waiting > 25){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,8 +47,8 @@ void Util::Procs::exit_handler(){
|
||||||
|
|
||||||
waiting = 0;
|
waiting = 0;
|
||||||
while ( !plist.empty()){
|
while ( !plist.empty()){
|
||||||
Util::sleep(500);
|
Util::sleep(200);
|
||||||
if (++waiting > 10){
|
if (++waiting > 25){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue