1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added clearing CiResourceHandlers before shutting down the plugin manager

This commit is contained in:
Klaus Schmidinger 2017-05-29 11:14:43 +02:00
parent f69b920dbc
commit 5324809a91
2 changed files with 3 additions and 1 deletions

View File

@ -9078,3 +9078,4 @@ Video Disk Recorder Revision History
the $(Q) macro won't be defined and commands will be displayed. You can add the $(Q) macro won't be defined and commands will be displayed. You can add
Q=@ to the make call to have it less verbose (provided the plugin's Makefile Q=@ to the make call to have it less verbose (provided the plugin's Makefile
was modified as described above). was modified as described above).
- Added clearing CiResourceHandlers before shutting down the plugin manager.

3
vdr.c
View File

@ -22,7 +22,7 @@
* *
* The project's page is at http://www.tvdr.de * The project's page is at http://www.tvdr.de
* *
* $Id: vdr.c 4.14 2017/05/21 12:31:37 kls Exp $ * $Id: vdr.c 4.15 2017/05/29 11:10:46 kls Exp $
*/ */
#include <getopt.h> #include <getopt.h>
@ -1585,6 +1585,7 @@ Exit:
cVideoDirectory::Destroy(); cVideoDirectory::Destroy();
EpgHandlers.Clear(); EpgHandlers.Clear();
cSchedules::Cleanup(true); cSchedules::Cleanup(true);
CiResourceHandlers.Clear();
ListGarbageCollector.Purge(true); ListGarbageCollector.Purge(true);
PluginManager.Shutdown(true); PluginManager.Shutdown(true);
ReportEpgBugFixStats(true); ReportEpgBugFixStats(true);