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

alex crain alexcrain at mail2.widgetworks.com
Thu Sep 30 01:38:14 UTC 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