Permalink
Browse files

Actually close the log files!

  • Loading branch information...
Beirdo committed May 17, 2012
1 parent 29d3f12 commit 4215d753a4d356f0b8e5f25bf5368046fa2c9795
Showing with 3 additions and 0 deletions.
  1. +3 −0 mythtv/libs/libmythbase/loggingserver.cpp
@@ -151,6 +151,9 @@ FileLogger::~FileLogger()
{
LOG(VB_GENERAL, LOG_INFO, QString("Removed logging to %1")
.arg(m_handle));
+ close(m_fd);
+ m_fd = -1;
+ m_opened = false;
}
m_zmqSock->unsubscribeFrom(QByteArray(""));

0 comments on commit 4215d75

Please sign in to comment.