summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2009-04-27 21:45:20 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2009-04-27 21:45:20 (GMT)
commit08b861f017795ecc7d98f42a55b4d7f2a2c4b9ca (patch)
treea7d36c2c94c82691d7f22461bf81c46e2c66e2f6 /win/tclWinSock.c
parent18cc34b4b4357e640bce38edb0bb3442058cf563 (diff)
downloadtcl-08b861f017795ecc7d98f42a55b4d7f2a2c4b9ca.zip
tcl-08b861f017795ecc7d98f42a55b4d7f2a2c4b9ca.tar.gz
tcl-08b861f017795ecc7d98f42a55b4d7f2a2c4b9ca.tar.bz2
Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces "late exit handlers" for similar late process-wide cleanups.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 8e2612e..b26d697 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinSock.c,v 1.62.2.1 2009/04/27 21:36:34 ferrieux Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.62.2.2 2009/04/27 21:45:20 ferrieux Exp $
*/
#include "tclWinInt.h"
@@ -231,7 +231,7 @@ InitSockets(void)
if (!initialized) {
initialized = 1;
- Tcl_CreateExitHandler(SocketExitHandler, (ClientData) NULL);
+ TclCreateLateExitHandler(SocketExitHandler, (ClientData) NULL);
/*
* Create the async notification window with a new class. We must