summaryrefslogtreecommitdiff
path: root/extra/tigertool/ecusb/stm32uart.py
diff options
context:
space:
mode:
Diffstat (limited to 'extra/tigertool/ecusb/stm32uart.py')
-rw-r--r--extra/tigertool/ecusb/stm32uart.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/tigertool/ecusb/stm32uart.py b/extra/tigertool/ecusb/stm32uart.py
index 459ca8e90f..21fcbd2cc2 100644
--- a/extra/tigertool/ecusb/stm32uart.py
+++ b/extra/tigertool/ecusb/stm32uart.py
@@ -73,6 +73,7 @@ class Suart(object):
if self._tx_thread:
self._tx_thread.join(2)
self._tx_thread = None
+ self._susb.close()
def run_rx_thread(self):
"""Background loop to pass data from USB to pty."""