40.4.2.4 Removing a Tcl Interpreter

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

     tcl_delete(+TclInterpreter)

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.