tcl.lang.CommandWithDispose -- interface for defining new
Tcl commands that requires clean-up.
abstract void disposeCmd()
This interface is used to define more sophisticated commands that
require clean-up when the command is deleted from an interpreter.
When the command represented by the CommandWithDispose instance is
deleted from an interpreter, either via the interp.deleteCommand
method or when the interpreter itself is deleted, the disposeCmd
method is invoked to free any resources that were allocated when the
command was created.
command, create, delete, interpreter
Copyright © 1998 Sun Microsystems, Inc.
Copyright © 1995-1997 Roger E. Critchlow Jr.