sectionsd/dmx: add hack for TripleDragon

This commit is contained in:
Stefan Seyfried
2013-08-04 21:25:26 +02:00
parent 2e5a63f70c
commit 1be995af05

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;
}
}