mirror of
https://github.com/ARM-software/workload-automation.git
synced 2026-02-08 08:42:19 +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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user