mirror of https://github.com/ARMmbed/mbed-os.git
[tools] Fixed infinite loop in config scan due to list comparison error
Previously a scanning for config terminated on comparison of the feature set, however at some point the set was changed to a list. This resulted in non-deterministic failures based on list order.pull/2317/head
parent
ac34f29f66
commit
6ea4006b5a
|
@ -444,7 +444,7 @@ class Config:
|
|||
self.add_config_files(resources.json_files)
|
||||
|
||||
# Add features while we find new ones
|
||||
features = self.get_features()
|
||||
features = set(self.get_features())
|
||||
if features == prev_features:
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue