mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
Merge pull request #473 from EgnalZurc/patch-1
Preventing shared semaphore to be used again
This commit is contained in:
@@ -628,6 +628,7 @@ static void ft_cleanup (void)
|
||||
if (shared_sem != NULL)
|
||||
{
|
||||
sem_close(shared_sem);
|
||||
shared_sem = NULL;
|
||||
}
|
||||
#ifdef FAKE_PTHREAD
|
||||
if (pthread_rwlock_destroy(&monotonic_conds_lock) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user