tvhlog - do not queue messages when log is not running
This commit is contained in:
parent
8583936c71
commit
08bfdf883b
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ void tvhlogv ( const char *file, int line,
|
|||
pthread_mutex_lock(&tvhlog_mutex);
|
||||
|
||||
/* Check for full */
|
||||
if (tvhlog_queue_full) {
|
||||
if (tvhlog_queue_full || !tvhlog_run) {
|
||||
pthread_mutex_unlock(&tvhlog_mutex);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue