summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-08-31 11:46:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-08-31 11:46:16 +0200
commitf2a2c67152254ff993cdbd785870a327b032c482 (patch)
tree5a4d56ecc0caec972a1a2e22bf01fe2d907e816c /device.c
parent971976600728f68f9ac83528bc0d7602d7b79123 (diff)
downloadvdr-f2a2c67152254ff993cdbd785870a327b032c482.tar.gz
vdr-f2a2c67152254ff993cdbd785870a327b032c482.tar.bz2
Fixed a possible crash when stopping VDR
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index 3c676922..cb2e05ea 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 4.23 2017/05/30 11:06:11 kls Exp $
+ * $Id: device.c 4.24 2017/08/31 11:34:54 kls Exp $
*/
#include "device.h"
@@ -1823,7 +1823,7 @@ void cDevice::Detach(cReceiver *Receiver)
}
}
if (!receiversLeft)
- Cancel(-1);
+ Cancel(3);
}
void cDevice::DetachAll(int Pid)