diff options
author | vasiljevic <zv@archiware.com> | 2004-07-15 20:04:37 (GMT) |
---|---|---|
committer | vasiljevic <zv@archiware.com> | 2004-07-15 20:04:37 (GMT) |
commit | 9d7f713f586c81f1d0d0632785099ab9d6b852e1 (patch) | |
tree | cda637381493aaa8fd7374f0ce8fa0286d5c8da4 /ChangeLog | |
parent | 795721e7172e3fe72dc211f941a7519df12958b6 (diff) | |
download | tcl-9d7f713f586c81f1d0d0632785099ab9d6b852e1.zip tcl-9d7f713f586c81f1d0d0632785099ab9d6b852e1.tar.gz tcl-9d7f713f586c81f1d0d0632785099ab9d6b852e1.tar.bz2 |
Stuffed memory leak incurred by re-initializing of TSD slots
after the last call to TclFinalizeThreadData (done from within
Tcl_FinalizeThread()). We basically just repeat the
TclFinalizeThreadData() once more before tearing down TSD keys
in TclFinalizeSynchronization().
There should be more elaborate mechanism in place for handling
such issues, based on thread cleanup handlers registered on the
OS level. Such change requires much more work and would also
require TIP because some visible parts of Tcl API would have to
be modified. In the meantime, this will do.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2004-07-15 Kevin Kenny <kennykb@acm.org> + * generic/tclEvent.c (Tcl_Finalize): stuffed memory leak + incurred by re-initializing of TSD slots after the last call to + TclFinalizeThreadData (done from within Tcl_FinalizeThread()). + We basically just repeat the TclFinalizeThreadData() once more + before tearing down TSD keys in TclFinalizeSynchronization(). + There should be more elaborate mechanism in place for handling + such issues, based on thread cleanup handlers registered on the + OS level. Such change requires much more work and would also + require TIP because some visible parts of Tcl API would have to + be modified. In the meantime, this will do. + +2004-07-15 Kevin Kenny <kennykb@acm.org> + * generic/tclLiteral.c (TclReleaseLiteral): Removed unused variable 'codePtr' to silence a message from VC++. |