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