mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-04-15 15:20:45 +01: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):
|
def finalize(self):
|
||||||
if not self.target:
|
if not self.target:
|
||||||
return
|
return
|
||||||
|
if self.assistant:
|
||||||
self.assistant.finalize()
|
self.assistant.finalize()
|
||||||
if self.disconnect or isinstance(self.target.platform, Gem5SimulationPlatform):
|
if self.disconnect or isinstance(self.target.platform, Gem5SimulationPlatform):
|
||||||
self.logger.info('Disconnecting from the device')
|
self.logger.info('Disconnecting from the device')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user