Clean up Windows event handles on com port close
authorKeith Packard <keithp@keithp.com>
Wed, 12 Sep 2012 06:04:19 +0000 (23:04 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 12 Sep 2012 06:04:19 +0000 (23:04 -0700)
This avoids having to wait for the receiver to timeout before we can
open the same com port again.

This patch also adds a bit more debugging -- it prints Windows error
messages to stdout along with the file/line where the error was generated.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found