[Openmcl-devel] how does this work, exactly?

alex crain alexcrain at mail2.widgetworks.com
Wed Sep 29 18:38:14 PDT 2004


I create some classes:

(defclass tab-view-item (ns:ns-tab-view-item)
	...
	(:metaclass ns:+ns-object))

(defclass tab-view (ns:ns-tab-view)
	...
	(:metaclass ns:+ns-object))

And I create some instances...

(send (make-instance 'tab-view)
	 :add-tab-view-item (make-instance 'tab-view-item))

I now have an instance of tab-view-item that is referenced by the 
tab-view cocoa object but not, as far as I can tell, anywhere
in the lisp system. So, why doesn't lisp garbage collect my 
tab-view-item?

:alex




More information about the Openmcl-devel mailing list