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:
parent
1c08360263
commit
fbd6f4e90c
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user