Skip to content

Commit

Permalink
Delete logThread in logStop
Browse files Browse the repository at this point in the history
Seems I never actually deleted the logThread when stopping logging.  This was
causing issues as then the timers don't get stopped (as that's in the dtor)
on quick runs, causing nasty messages, and maybe even crashes.

Refs #10867
  • Loading branch information
Beirdo committed Jul 13, 2012
1 parent 09a5e63 commit fb9b725
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythbase/logging.cpp
Expand Up @@ -864,6 +864,8 @@ void logStop(void)
{
logThread->stop();
logThread->wait();
delete logThread;
logThread = NULL;
}
}

Expand Down

0 comments on commit fb9b725

Please sign in to comment.