Added missing call to StopSectionHandler().

This method was introduced in VDR 1.5.15. Its absence could cause crashes
when shutting down VDR
This commit is contained in:
schmirl 2009-04-06 06:48:59 +00:00
parent 3d16ba0840
commit 64ff2c08be
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,8 @@
VDR Plugin 'streamdev' Revision History VDR Plugin 'streamdev' Revision History
--------------------------------------- ---------------------------------------
- added missing call to StopSectionHandler which could cause crashes when
shutting down VDR
- added IGMP based multicast streaming - added IGMP based multicast streaming
- ignore trailing blank lines in HTTP requests - ignore trailing blank lines in HTTP requests
- fixed parsing Min/MaxPriority from config (thanks to Joachim König-Baltes) - fixed parsing Min/MaxPriority from config (thanks to Joachim König-Baltes)

View File

@ -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" #include "client/device.h"
@ -50,6 +50,9 @@ cStreamdevDevice::~cStreamdevDevice() {
Cancel(3); Cancel(3);
#if APIVERSNUM >= 10515
StopSectionHandler();
#endif
DELETENULL(m_Filters); DELETENULL(m_Filters);
DELETENULL(m_TSBuffer); DELETENULL(m_TSBuffer);
} }