Overview
| Artifact ID: | b2aa9323da5aa9e82422a15c0435e3226a7d5a87 |
|---|---|
| Ticket: | 650353ffffffffffffffffffffffffffffffffff
crash in SocketThreadExitHandler |
| User & Date: | nobody on 2002-12-08 15:27:43 |
Changes
- icomment:
Logged In: NO I have a potential fix for this bug (file win/tclWinSock.c). static void SocketExitHandler(clientData) ClientData clientData; /* Not used. */ { ThreadSpecificData *tsdPtr = (ThreadSpecificData *)TclThreadDataKeyGet (&dataKey); /* NEW: checked below */ Tcl_MutexLock(&socketMutex); if (winSock.hModule) { /* * Make sure the socket event handling window is cleaned-up * for, at most, this thread. */ if (tsdPtr != NULL) /* ONLY call thread exit handler when the thread has been previously initialized by InitSockets */ SocketThreadExitHandler(clientData); - login: "nobody"
- mimetype: "text/plain"
- username: "nobody"