summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2003-01-10 15:03:49 (GMT)
committervincentdarley <vincentdarley@noemail.net>2003-01-10 15:03:49 (GMT)
commitbc7ac0c33c841f7e376d60e1a8553f898caa3629 (patch)
tree80a34d014f8cf54e0b51b3713808dacf6861b179 /generic/tclIOUtil.c
parentefa637569ed08b484b46c851470a3f85ec599ed0 (diff)
downloadtcl-bc7ac0c33c841f7e376d60e1a8553f898caa3629.zip
tcl-bc7ac0c33c841f7e376d60e1a8553f898caa3629.tar.gz
tcl-bc7ac0c33c841f7e376d60e1a8553f898caa3629.tar.bz2
WinTcl crash on exit fix
FossilOrigin-Name: bfd1c3af3d766e815ab656c17d959501b246c393
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index b1bca76..e74e94e 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIOUtil.c,v 1.68 2003/01/09 10:38:29 vincentdarley Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.69 2003/01/10 15:03:53 vincentdarley Exp $
*/
#include "tclInt.h"
@@ -654,6 +654,15 @@ TclFinalizeFilesystem() {
#ifdef TCL_THREADS
filesystemOkToModify = NULL;
#endif
+ /*
+ * Cleans up the win32 API filesystem proc lookup table and
+ * any special encodings which have been loaded. This must
+ * happen after the filesystem has been closed down, or crashes
+ * can result (especially with vfs).
+ */
+#ifdef __WIN32__
+ TclWinFilesystemAndEncodingsCleanup();
+#endif
}
/*