mirror of https://github.com/BOINC/boinc.git
parent
1b82c88186
commit
8e55d3890d
|
@ -57,6 +57,14 @@ int CLIENT_STATE::exit() {
|
|||
|
||||
int CLIENT_STATE::exit_tasks() {
|
||||
active_tasks.exit_tasks();
|
||||
|
||||
// for now just kill them
|
||||
unsigned int i;
|
||||
ACTIVE_TASK *atp;
|
||||
for (i=0; i<active_tasks.active_tasks.size(); i++) {
|
||||
atp = active_tasks.active_tasks[i];
|
||||
atp->kill_task();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue