mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
Exit idleMonitor thread when it has finished
Could help debugging, see #470
This commit is contained in:
parent
dbfff030ce
commit
9ad4a7b89a
@ -850,7 +850,6 @@ static void *idleMonitor(void *_arg) {
|
||||
while (ctx->running) {
|
||||
unmountres = ctx->usageAndUnmount(timeoutCycles);
|
||||
if (unmountres) {
|
||||
pthread_cond_wait(&ctx->wakeupCond, &ctx->wakeupMutex);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user