mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 15:33:16 +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) {
|
while (ctx->running) {
|
||||||
unmountres = ctx->usageAndUnmount(timeoutCycles);
|
unmountres = ctx->usageAndUnmount(timeoutCycles);
|
||||||
if (unmountres) {
|
if (unmountres) {
|
||||||
pthread_cond_wait(&ctx->wakeupCond, &ctx->wakeupMutex);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user