proper shutdown

moved signal handler for SIGCHD and SIGHUP to dumm
This commit is contained in:
Martin Willi
2007-08-03 11:47:20 +00:00
parent dfcdae0335
commit 5ce04046f7
5 changed files with 96 additions and 48 deletions
+1 -1
View File
@@ -779,8 +779,8 @@ static void set_scenario(private_cowfs_t *this, char *path)
static void destroy(private_cowfs_t *this)
{
fuse_exit(this->fuse);
pthread_join(this->thread, NULL);
fuse_unmount(this->mount, this->chan);
pthread_join(this->thread, NULL);
fuse_destroy(this->fuse);
free(this->mount);
free(this->master);