From 45a9601fcdcba5eba61dae1c02e0ab3b6568b28d Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sat, 7 Apr 2012 13:05:52 +0400 Subject: [PATCH] eitd/dmx.cpp: fix dtor, enable debug --- src/eitd/dmx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/eitd/dmx.cpp b/src/eitd/dmx.cpp index f9aa63cc7..647c1db80 100644 --- a/src/eitd/dmx.cpp +++ b/src/eitd/dmx.cpp @@ -42,7 +42,7 @@ #include "dmx.h" #include "debug.h" -//#define DEBUG_MUTEX 1 +#define DEBUG_MUTEX 1 //#define DEBUG_DEMUX 1 // debug start/close/change //#define DEBUG_CACHED_SECTIONS 1 //#define DEBUG_COMPLETE_SECTIONS 1 @@ -100,8 +100,8 @@ DMX::~DMX() myDMXOrderUniqueKey.clear(); pthread_mutex_destroy(&start_stop_mutex); pthread_cond_destroy (&change_cond); - // FIXME - closefd(); + //closefd(); + close(); } void DMX::close(void)