summaryrefslogtreecommitdiff
path: root/plugin.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-14 11:51:13 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-14 11:51:13 +0200
commitb7181930c80a9040876e7eff7e05f0e006fb2369 (patch)
tree9acf19af88d9893c8f5a5481ef9bdaf4df67ce71 /plugin.c
parent6635a1d69eec06c994c4b08ba2d77300616b009b (diff)
downloadvdr-b7181930c80a9040876e7eff7e05f0e006fb2369.tar.gz
vdr-b7181930c80a9040876e7eff7e05f0e006fb2369.tar.bz2
Reintroduced the log message "deleting plugin: ..." when shutting down VDR
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugin.c b/plugin.c
index 69d558cf..fc1a25ac 100644
--- a/plugin.c
+++ b/plugin.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: plugin.c 1.18 2006/04/09 14:16:17 kls Exp $
+ * $Id: plugin.c 1.19 2006/04/14 11:45:43 kls Exp $
*/
#include "plugin.h"
@@ -424,9 +424,13 @@ void cPluginManager::StopPlugins(void)
}
}
-void cPluginManager::Shutdown(void)
+void cPluginManager::Shutdown(bool Log)
{
cDll *dll;
- while ((dll = dlls.Last()) != NULL)
+ while ((dll = dlls.Last()) != NULL) {
+ cPlugin *p = dll->Plugin();
+ if (p && Log)
+ isyslog("deleting plugin: %s", p->Name());
dlls.Del(dll);
+ }
}