summaryrefslogtreecommitdiff
path: root/ot_clean.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_clean.c')
-rw-r--r--ot_clean.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ot_clean.c b/ot_clean.c
index 2173c27..4adeee6 100644
--- a/ot_clean.c
+++ b/ot_clean.c
@@ -114,6 +114,8 @@ static void * clean_worker( void * args ) {
114 } 114 }
115 } 115 }
116 mutex_bucket_unlock( bucket ); 116 mutex_bucket_unlock( bucket );
117 if( !g_opentracker_running )
118 return NULL;
117 usleep( OT_CLEAN_SLEEP ); 119 usleep( OT_CLEAN_SLEEP );
118 } 120 }
119 } 121 }