Skip to content

Commit

Permalink
Exit idleMonitor thread when it has finished
Browse files Browse the repository at this point in the history
Could help debugging, see #470
  • Loading branch information
Ben RUBSON authored Apr 6, 2018
1 parent dbfff03 commit 9ad4a7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion encfs/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9ad4a7b

Please sign in to comment.