mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
sectionsd/dmx: add hack for TripleDragon
This commit is contained in:
@@ -121,9 +121,13 @@ void DMX::closefd(void)
|
|||||||
#endif
|
#endif
|
||||||
if (isOpen())
|
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;
|
delete dmx;
|
||||||
dmx = NULL;
|
dmx = NULL;
|
||||||
|
#endif
|
||||||
fd = -1;
|
fd = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user