Commit 64828f9a authored by Michael Büsch's avatar Michael Büsch

Unregister hardware on shutdown

Signed-off-by: Michael Büsch's avatarMichael Buesch <[email protected]>
parent f640540f
......@@ -238,6 +238,7 @@ def run(inputFile):
"(%d: %s)...\n" % (e.requestType, str(e)))
finally:
if s:
s.unregisterAllHardware()
ps = s.getProfileStats()
if ps:
writeStdout("\n\nProfile stats (level %d) follow:\n" %\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment