mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 09:26:18 -05:00
removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6ea39194db
commit
331212c010
@ -24,6 +24,8 @@
|
|||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// #define DEBUG_PLUGIN_MANAGER 1
|
||||||
|
|
||||||
std::string RsPluginManager::_plugin_entry_symbol = "RETROSHARE_PLUGIN_provide" ;
|
std::string RsPluginManager::_plugin_entry_symbol = "RETROSHARE_PLUGIN_provide" ;
|
||||||
std::string RsPluginManager::_plugin_revision_symbol = "RETROSHARE_PLUGIN_revision" ;
|
std::string RsPluginManager::_plugin_revision_symbol = "RETROSHARE_PLUGIN_revision" ;
|
||||||
std::string RsPluginManager::_plugin_API_symbol = "RETROSHARE_PLUGIN_api" ;
|
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)
|
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() ))
|
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;
|
std::cerr << " ticking plugin " << _plugins[i].plugin->getPluginName() << std::endl;
|
||||||
|
#endif
|
||||||
_plugins[i].plugin->rs_cache_service()->tick() ;
|
_plugins[i].plugin->rs_cache_service()->tick() ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user