serialTerminal.com icon indicating copy to clipboard operation
serialTerminal.com copied to clipboard

Port Close Logic.

Open ezazpi opened this issue 3 years ago • 1 comments

In the source, I see you keep a reference to the writableStreamClosed promise. However, you don't await this promise nor is there any logic to close the writer, reader, and port. I also saw the reader.releaseLock line commented (I don't recall if there was a writer.releaseLock). Maybe there can be a Close button to exercise this logic, which would allow the user to reuse the serial port without necessarily having to close the browser tab?

ezazpi avatar Feb 21 '22 05:02 ezazpi

Hitting the refresh button when you want to connect to a new device is a problem?

mmiscool avatar Jun 17 '22 20:06 mmiscool