diff options
Diffstat (limited to 'win/tclWinSerial.c')
-rw-r--r-- | win/tclWinSerial.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c index fb819a2..17678f2 100644 --- a/win/tclWinSerial.c +++ b/win/tclWinSerial.c @@ -11,7 +11,7 @@ * * Serial functionality implemented by Rolf.Schroedter@dlr.de * - * RCS: @(#) $Id: tclWinSerial.c,v 1.25 2003/01/16 20:55:53 hobbs Exp $ + * RCS: @(#) $Id: tclWinSerial.c,v 1.25.2.1 2003/05/11 00:31:41 hobbs Exp $ */ #include "tclWinInt.h" @@ -647,6 +647,8 @@ SerialCloseProc( } CloseHandle(serialPtr->writeThread); + CloseHandle(serialPtr->osWrite.hEvent); + DeleteCriticalSection(&serialPtr->csWrite); CloseHandle(serialPtr->evWritable); CloseHandle(serialPtr->evStartWriter); CloseHandle(serialPtr->evStopWriter); |