1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

fw/tm: Only finalize the assistant if instantiated

This commit is contained in:
Marc Bonnici 2020-10-02 12:34:07 +01:00 committed by setrofim
parent 1c08360263
commit fbd6f4e90c

View File

@ -78,6 +78,7 @@ class TargetManager(object):
def finalize(self):
if not self.target:
return
if self.assistant:
self.assistant.finalize()
if self.disconnect or isinstance(self.target.platform, Gem5SimulationPlatform):
self.logger.info('Disconnecting from the device')