From 331212c010262edaf764dcfea60b30ea7bfa8562 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 20 Oct 2012 13:37:53 +0000 Subject: [PATCH] removed debug info git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5699 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/plugins/pluginmanager.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretroshare/src/plugins/pluginmanager.cc b/libretroshare/src/plugins/pluginmanager.cc index c2e9d339a..363e8f302 100644 --- a/libretroshare/src/plugins/pluginmanager.cc +++ b/libretroshare/src/plugins/pluginmanager.cc @@ -24,6 +24,8 @@ #include #endif +// #define DEBUG_PLUGIN_MANAGER 1 + std::string RsPluginManager::_plugin_entry_symbol = "RETROSHARE_PLUGIN_provide" ; std::string RsPluginManager::_plugin_revision_symbol = "RETROSHARE_PLUGIN_revision" ; std::string RsPluginManager::_plugin_API_symbol = "RETROSHARE_PLUGIN_api" ; @@ -367,7 +369,9 @@ void RsPluginManager::slowTickPlugins(time_t seconds) for(uint32_t i=0;i<_plugins.size();++i) if(_plugins[i].plugin != NULL && _plugins[i].plugin->rs_cache_service() != NULL && (seconds % _plugins[i].plugin->rs_cache_service()->tickDelay() )) { +#ifdef DEBUG_PLUGIN_MANAGER std::cerr << " ticking plugin " << _plugins[i].plugin->getPluginName() << std::endl; +#endif _plugins[i].plugin->rs_cache_service()->tick() ; } }