code: def unload_plugins(self, ):
          
          for p in self.__plugins.values():
              if p.is_loaded():
                  try:
                      p._unload()
                      log.info('Uninitialized the plugin: %s' % p)
                  except errors.PluginUninitError:
                      log.error('Uninitialization of the plugin: %s failed.' % p)
docs: Unloads all loaded plugins
  
          :returns: None
          :rtype: None
          :raises: None