CC: Fix crash bug: set app_client_shm.shm = NULL after calling detach_shmem_mmap.

svn path=/trunk/boinc/; revision=13779
This commit is contained in:
Charlie Fenton 2007-10-05 10:38:01 +00:00
parent 03b5c3e3b0
commit 153502e60a
2 changed files with 10 additions and 3 deletions

View File

@ -9164,8 +9164,15 @@ David 4 Oct 2007
sched_locality.C
sched_send.C,h
Charlie 3 Oct 2007
Charlie 4 Oct 2007
- API V6 GFX: Initialize boinc_max_fps = 30.
api/
graphics2.C
Charlie 5 Oct 2007
- CC: Fix crash bug: set app_client_shm.shm = NULL after calling
detach_shmem_mmap.
client/
app.C

View File

@ -200,9 +200,9 @@ void ACTIVE_TASK::cleanup_task() {
"Couldn't destroy shared memory: %s", boincerror(retval)
);
}
app_client_shm.shm = NULL;
gstate.retry_shmem_time = 0;
}
app_client_shm.shm = NULL;
gstate.retry_shmem_time = 0;
}
if (gstate.exit_after_finish) {