Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/PluginManager.cpp [920a14] .. [28d661] Maximize Restore

  Switch to side-by-side view

--- a/src/PluginManager.cpp
+++ b/src/PluginManager.cpp
@@ -389,22 +389,17 @@
     ASSERT(p);
     ASSERT(!m_loaded_plugins.isEmpty());
 
-//    debug("PluginManager::pluginClosed(%p:%p) [slot]",p?p->getHandle():0,p);
     if (p) {
 //	void *h = p->getHandle();
-
 	// disconnect the signals to avoid recursion
 	disconnectPlugin(p);
 
-//	debug("PluginManager::pluginClosed(%p:%p): removeRef",h,p);
 	m_loaded_plugins.setAutoDelete(false);
 	m_loaded_plugins.removeRef(p);
 
 	if (remove) {
 	    debug("PluginManager::pluginClosed(%p): deleting",p);
 	    delete p;
-
-//	    debug("PluginManager::pluginClosed(): closing handle %p",h);
 //	    if (h) dlclose(h);
 	}
 
@@ -441,6 +436,7 @@
 
 }
 
+//****************************************************************************
 void PluginManager::emitNameChanged()
 {
     ASSERT(m_spx_name_changed);
@@ -459,11 +455,7 @@
 {
     ASSERT(m_spx_name_changed);
     if (!m_spx_name_changed) return;
-
-    debug("PluginManager::setSignalName('%s')",name.data());
     m_spx_name_changed->enqueue(name);
-
-    debug("PluginManager::setSignalName(): done.");
 }
 
 //****************************************************************************