A mechanism to destroy objects when a pinboard-layout is destroyed.
capi
destroy-dependent-object object
destroy-dependent-object (object cons)
destroy-dependent-object (object process)
object⇩ |
A Lisp object. |
The generic function destroy-dependent-object
is part of a mechanism for destroying objects when a pinboard-layout is destroyed.
Objects may be registered for destruction by calling record-dependent-object and unregistered by calling unrecord-dependent-object.
The predefined destroy-dependent-object
method specializing on cl:cons expects a list where the car is a function and the cdr are its arguments. It applies the function to the arguments. The predefined method specializing on mp:process
calls mp:process-terminate on the process object.
pinboard-layout
record-dependent-object
unrecord-dependent-object
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27