Overview
| Artifact ID: | 0b939141d155a5e4e70c1ddbc36eee5857df8cd4 |
|---|---|
| Ticket: | 218199ffffffffffffffffffffffffffffffffff
Command deletions are not called on exit |
| User & Date: | nobody on 2000-10-26 00:54:25 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2410 RFE Version: 8.1.1 SubmitDate: '1999-07-19' LastModified: '1999-12-03' Severity: MED Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Windows NT OSVersion: NT4.0 SP5, and Windows 2000 Machine: X86 FixedDate: '2000-10-25' ClosedDate: '1999-12-03' Name: Ian Brown DesiredBehavior: It seems that the command deletions are not called on exiting. I'm working around it at the moment by keeping a list of all the commands I create and then deleting them all in my package exit handler. This is pretty messy though as I have commands that create commands... I had assumed that the interpreter would be deleted when exiting ... I fail to see why it isn't. It looks to me as if the command delete procs are called when a command is deleted (via Tcl_DeleteCommandFromToken for example), but not when the interpreter is deleted. Maybe the commands themselves do not get deleted on interpreter exit. This seems to be a bug to me. Does anyone out there know the rationale for the current behaviour ? Is there any documentation as to exactly when the command deletion handler will be called, and when not ? The command deletion handler is called when the command is actually explicitly deleted (like 'rename cmd {}', or the destruction of a widget). Since commands can exist in multiple interps, you don't can't just delete it with each interp. -- 12/03/1999 hobbs - foundin changed to: "final: 8.1.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Command deletions are not called on exit"
- type changed to: "RFE"