summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-07-21 01:45:44 (GMT)
committerhobbs <hobbs>2004-07-21 01:45:44 (GMT)
commit4dcfe1cc24fd10bd3e184990a3b7f7c3042d6e03 (patch)
treea73f70550f592464825b855b97bcf3574735f983 /generic/tclEvent.c
parentb7baa5cf544d8865daa4745ad9616caabfedd664 (diff)
downloadtcl-4dcfe1cc24fd10bd3e184990a3b7f7c3042d6e03.zip
tcl-4dcfe1cc24fd10bd3e184990a3b7f7c3042d6e03.tar.gz
tcl-4dcfe1cc24fd10bd3e184990a3b7f7c3042d6e03.tar.bz2
* generic/tclEvent.c: Correct threaded obj allocator to
* generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index b169196..187a6e3 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEvent.c,v 1.43 2004/07/15 20:04:38 vasiljevic Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.44 2004/07/21 01:45:44 hobbs Exp $
*/
#include "tclInt.h"
@@ -973,7 +973,9 @@ Tcl_Finalize()
/*
* There shouldn't be any malloc'ed memory after this.
*/
-
+#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC)
+ TclFinalizeThreadAlloc();
+#endif
TclFinalizeMemorySubsystem();
inFinalize = 0;
}