Permalink
Browse files

Delete logThread in logStop

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 fb9b72518b2b2b3912f3ee633f02c185fd93865d
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythtv/libs/libmythbase/logging.cpp
@@ -864,6 +864,8 @@ void logStop(void)
{
logThread->stop();
logThread->wait();
delete logThread;
logThread = NULL;
}
}

0 comments on commit fb9b725

Please sign in to comment.