Skip to content

Commit

Permalink
[#67802] runtime: renode: Fixed handling of uart_log_reader
Browse files Browse the repository at this point in the history
Signed-off-by: Grzegorz Latosinski <[email protected]>
  • Loading branch information
glatosinski committed Nov 15, 2024
1 parent 8b033ca commit f03934e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kenning/runtimes/renode.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def __init__(
self.renode_log_file_name = None
self.renode_log_buffer = ""
self.uart_log_buffer = ""
self.uart_log_reader = None
self.renode_logs = []
self.llext_binary_path = llext_binary_path
super().__init__(
Expand Down Expand Up @@ -490,7 +491,8 @@ def clear_renode(self):

self.machine = None
Emulation().PauseAll()
self.uart_log_reader.stop()
if self.uart_log_reader is not None:
self.uart_log_reader.stop()
Emulation().clear()

if (
Expand Down

0 comments on commit f03934e

Please sign in to comment.