Removing a Tcl Interpreter

To remove a Tcl interpreter from the system, use the tcl_delete/1 predicate:


which given a reference to a Tcl interpreter, closes down the interpreter and removes it. The reference can be for a plain Tcl interpreter or for a Tk enhanced one; tcl_delete/1 removes both kinds.