The generic function
is called by
just before it destroys an interface, on the interface process. You can specialize this for your own interface classes. Your methods should not interact with the user or other external sources, and should not interact with other processes, because it is called after
already started to destroy interfaces.
CAPI Reference Manual - 15 Dec 2011