diff options
Diffstat (limited to 'dynamicdevice.c')
-rw-r--r-- | dynamicdevice.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dynamicdevice.c b/dynamicdevice.c index 49339e0..b808fe9 100644 --- a/dynamicdevice.c +++ b/dynamicdevice.c @@ -740,7 +740,8 @@ bool cDynamicDevice::GetTSPacket(uchar *&Data) const char *d = NULL; if (devpath) d = **devpath; - esyslog("dynamite: device %s hasn't delivered any data for %d seconds, it will be detached", d, getTSTimeout); + esyslog("dynamite: device %s hasn't delivered any data for %d seconds, detaching all receivers", d, getTSTimeout); + subDevice->DetachAllReceivers(); cDynamicDeviceProbe::QueueDynamicDeviceCommand(ddpcDetach, *devpath); const char *timeoutHandlerArg = *devpath; if (getTSTimeoutHandlerArg) |