fixed ser reference in closing

This commit is contained in:
Paul 2024-01-08 18:23:19 +01:00
parent d8cae4b086
commit ece7a3941b
1 changed files with 1 additions and 1 deletions

View File

@ -57,6 +57,6 @@ except KeyboardInterrupt:
print("Programm durch Benutzer unterbrochen.")
finally:
virtual_serial_port.close()
ser.close()
reader_thread.join()
writer_thread.join()