From 64ff2c08be769cf227ac6cf2e318fcb6b80c9689 Mon Sep 17 00:00:00 2001 From: schmirl <schmirl> Date: Mon, 6 Apr 2009 06:48:59 +0000 Subject: Added missing call to StopSectionHandler(). This method was introduced in VDR 1.5.15. Its absence could cause crashes when shutting down VDR --- client/device.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/device.c b/client/device.c index 9b0dfb5..4b6c3c5 100644 --- a/client/device.c +++ b/client/device.c @@ -1,5 +1,5 @@ /* - * $Id: device.c,v 1.22 2009/01/29 07:48:58 schmirl Exp $ + * $Id: device.c,v 1.23 2009/04/06 06:48:59 schmirl Exp $ */ #include "client/device.h" @@ -50,6 +50,9 @@ cStreamdevDevice::~cStreamdevDevice() { Cancel(3); +#if APIVERSNUM >= 10515 + StopSectionHandler(); +#endif DELETENULL(m_Filters); DELETENULL(m_TSBuffer); } -- cgit v1.2.3