mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 17:16:51 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user