Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion android_env/components/task_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,10 @@ def _start_dumpsys_thread(self,

def _stop_logcat_thread(self):
if self._logcat_thread is not None:
self._logcat_thread.kill()
try:
self._logcat_thread.kill()
except Exception as e: # pylint: disable=broad-except
logging.warning('Failed to kill logcat thread: %r', e)
self._logcat_thread = None

def _increment_bad_state(self) -> None:
Expand Down