Overview
| Artifact ID: | 81c6496a98f2fdf2d550961ea35837a68d76e0cc16c5fc583c660b2f84e60171 |
|---|---|
| Ticket: | 0e48e053283e6fb8dcc4ecd183539ae57a31072b
Clarify that [apply] functions are cleaned up |
| User & Date: | anonymous on 2018-03-26 16:21:37 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The manual page for the [apply] command describes the semantics of the command with a pure Tcl procedure. However, that implementation would never clean up created procedures, leading to memory leaks where the [apply] command is parameterised in, say, a loop. It would be good to mention that, unlike the pure Tcl description, [apply] commands are cleaned up with the reference count system just as with any other Tcl values. Alternatively the semantics code could be altered to destroy the newly created command before [return].
- foundin changed to: "8.6"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "0dfe2e6aa820af3598e203fec901fc46f1ba3c95"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "16. Commands A-H"
- title changed to: "Clarify that [apply] functions are cleaned up"
- type changed to: "Bug"