diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-14 11:51:13 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-14 11:51:13 +0200 |
commit | b7181930c80a9040876e7eff7e05f0e006fb2369 (patch) | |
tree | 9acf19af88d9893c8f5a5481ef9bdaf4df67ce71 /plugin.c | |
parent | 6635a1d69eec06c994c4b08ba2d77300616b009b (diff) | |
download | vdr-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.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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); + } } |