diff options
author | hobbs <hobbs> | 2004-07-21 01:45:44 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-07-21 01:45:44 (GMT) |
commit | 4dcfe1cc24fd10bd3e184990a3b7f7c3042d6e03 (patch) | |
tree | a73f70550f592464825b855b97bcf3574735f983 /generic/tclEvent.c | |
parent | b7baa5cf544d8865daa4745ad9616caabfedd664 (diff) | |
download | tcl-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.c | 6 |
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; } |