Destroying condition variable.

This commit is contained in:
Pedro Alvarez 2018-06-28 21:22:37 +01:00
parent 28844b54dd
commit 58823b1611
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ logger_file::~logger_file() {
fclose(logfile);
}
pthread_mutex_destroy(&mutex);
pthread_cond_destroy(&not_empty);
pthread_cond_destroy(&not_full);
}
}