diff options
Diffstat (limited to 'ot_clean.c')
-rw-r--r-- | ot_clean.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 | } |