Tcl Source Code

Check-in [ccfd61a7cf]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Delete associated data after running Tcl_InterpDeleteProc instead of before. Remove redundant/cyclic call to Tcl_DeleteAssocData.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | core-8-branch
Files: files | file ages | folders
SHA3-256: ccfd61a7cf6bce850d66e7f7435c6436288191fec63625982d264a41b262b282
User & Date: pooryorick 2021-05-15 19:04:09.191
Original Comment: When deleting an interp, delete associated data after running the corresponding Tcl_InterpDeleteProc instead of before to allow the Tcl_InterpDeleteProc to make use of the data. In TcltestObj.c/VarPtrDeleteProc, remove call to Tcl_DeleteAssocData that is redundant and cylic.
References
2021-05-15
22:30 Ticket [28027d8bb7] Per-interp Loaded library structures not cleaned up on inter... artifact: 2b81c100ce user: pooryorick
Context
2021-05-17
11:35
Merge 8.6 check-in: 3ee7e13727 user: jan.nijtmans tags: core-8-branch
2021-05-16
19:09
Break TclDeleteNamespaceChildren out of TclTeardownNamespace. closed check-in: a72e1e8016 user: pooryorick tags: pyk-namespace
2021-05-15
19:04
Delete associated data after running Tcl_InterpDeleteProc instead of before. Remove redundant/cycli... check-in: ccfd61a7cf user: pooryorick tags: core-8-branch
18:42
When deleting an interp, delete associated data after running the corresponding Tcl_InterpDeleteProc... check-in: 47892c9578 user: pooryorick tags: pyk-tclUnload
18:27
Add valgrind option --keep-deguginfo=yes check-in: c7502f772c user: pooryorick tags: core-8-branch
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclBasic.c.
Changes to generic/tclTestObj.c.