mirror of https://github.com/BOINC/boinc.git
- client: clean out project dir on reset. fixes #978
svn path=/trunk/boinc/; revision=21086
This commit is contained in:
parent
3925d39870
commit
0841eb222c
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue