kill on exit

svn path=/trunk/boinc/; revision=732
This commit is contained in:
Eric Heien 2002-12-11 23:09:55 +00:00
parent 1b82c88186
commit 8e55d3890d
1 changed files with 8 additions and 0 deletions

View File

@ -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;
}