Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Use of the thread package prevents interp from being fully deleted

Open3d768414de12dcd10aa7af36cdaca3fcdd821c4dCreated 6 years agoUpdated 6 years ago
Descriptionwiki2020-07-14 15:25:02
When an interp uses the thread package, it does not get fully deleted by a [interp delete] command. I noticed this because the function registered with Tcl_CallWhenDeleted() in my extension never runs under these conditions.

There seems to be a call to Tcl_Preserve(interp) happening somewhere, without a matching call to Tcl_Release(interp). I haven't yet pinpointed where.

The problem was found on linux x86_64.

jan.nijtmans Ticket [3d768414de]: 3 changes [History diff]2020-07-15 05:23:16
Log in (anonymous is fine) to add a comment.