sectionsd/dmx: add hack for TripleDragon

Origin commit data
------------------
Commit: 1be995af05
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-08-04 (Sun, 04 Aug 2013)
This commit is contained in:
Stefan Seyfried
2013-08-04 21:25:26 +02:00
parent d951377e1b
commit b2efc0d59c

View File

@@ -121,9 +121,13 @@ void DMX::closefd(void)
#endif
if (isOpen())
{
//dmx->Stop();
#if HAVE_TRIPLEDRAGON
/* not sure why, but we lose CN events if we do delete / new :-( */
dmx->Stop();
#else
delete dmx;
dmx = NULL;
#endif
fd = -1;
}
}