diff options
| author | hobbs <hobbs> | 2004-07-21 01:30:56 (GMT) |
|---|---|---|
| committer | hobbs <hobbs> | 2004-07-21 01:30:56 (GMT) |
| commit | bcf71b020e77fa96e8c23726161ea278b50a6f75 (patch) | |
| tree | 485b0b4f6b33aad1eb86cc5ec0ddf7c71966fd7c /generic/tclEvent.c | |
| parent | f61ccd20549e6ae54b979798b232b5832663dd8e (diff) | |
| download | tcl-bcf71b020e77fa96e8c23726161ea278b50a6f75.zip tcl-bcf71b020e77fa96e8c23726161ea278b50a6f75.tar.gz tcl-bcf71b020e77fa96e8c23726161ea278b50a6f75.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 19bb0d6..67ec728 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -11,7 +11,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.28.2.7 2004/07/15 09:57:10 vasiljevic Exp $ + * RCS: @(#) $Id: tclEvent.c,v 1.28.2.8 2004/07/21 01:30:57 hobbs Exp $ */ #include "tclInt.h" @@ -897,7 +897,9 @@ Tcl_Finalize() /* * There shouldn't be any malloc'ed memory after this. */ - +#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC) && !defined(TCL_MEM_DEBUG) && !defined(PURIFY) + TclFinalizeThreadAlloc(); +#endif TclFinalizeMemorySubsystem(); inFinalize = 0; } |
