mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 00:52:08 +00:00 
			
		
		
		
	framework/pluginloader: Make sure to also clear aliases
When 'clearing' the pluginloader previously any aliases already discovered were not removed, now ensure all discovered items are removed.
This commit is contained in:
		@@ -455,6 +455,8 @@ class PluginLoader(object):
 | 
			
		||||
        """ Clear all discovered items. """
 | 
			
		||||
        self.plugins = {}
 | 
			
		||||
        self.kind_map.clear()
 | 
			
		||||
        self.aliases.clear()
 | 
			
		||||
        self.global_param_aliases.clear()
 | 
			
		||||
 | 
			
		||||
    def reload(self):
 | 
			
		||||
        """ Clear all discovered items and re-run the discovery. """
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user