mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
workloads/jankbench: Ensure logcat monitor thread is terminated
Previously the LogcatRunMonitor left the logcat process running in the background causing issues with concurrent accesses. Now ensure the thread terminates correctly.
This commit is contained in:
parent
375a36c155
commit
7dce0fb208
@ -227,6 +227,7 @@ class JankbenchRunMonitor(threading.Thread):
|
||||
line = line.decode(sys.stdout.encoding, 'replace')
|
||||
if self.regex.search(line):
|
||||
self.run_ended.set()
|
||||
proc.terminate()
|
||||
|
||||
def stop(self):
|
||||
self.stop_event.set()
|
||||
|
Loading…
Reference in New Issue
Block a user