mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01:00
target/assistant: Fix logcat poller
Rename the `start` method to `run` as this is what is what is called by the threading module's `start` method, otherwise this causes the polling to be done in the main thread blocking execution.
This commit is contained in:
@@ -104,7 +104,7 @@ class LogcatPoller(threading.Thread):
|
|||||||
self.daemon = True
|
self.daemon = True
|
||||||
self.exc = None
|
self.exc = None
|
||||||
|
|
||||||
def start(self):
|
def run(self):
|
||||||
self.logger.debug('starting polling')
|
self.logger.debug('starting polling')
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
|
Reference in New Issue
Block a user