- client: clean out project dir on reset. fixes #978

svn path=/trunk/boinc/; revision=21086
This commit is contained in:
David Anderson 2010-04-05 03:25:58 +00:00
parent 3925d39870
commit 0841eb222c
2 changed files with 10 additions and 0 deletions

View File

@ -2470,3 +2470,9 @@ David 4 Apr 2010
client/
cpu_sched.cpp
David 4 Apr 2010
- client: clean out project dir on reset. fixes #978
client/
client_state.cpp

View File

@ -1576,6 +1576,10 @@ int CLIENT_STATE::reset_project(PROJECT* project, bool detaching) {
}
}
garbage_collect_always();
char buf[1024];
get_project_dir(project, buf, sizeof(buf));
client_clean_out_dir(buf, "reset or detach project");
}
project->duration_correction_factor = 1;