Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!mit-eddie!uw-beaver!apollo!apollo.hp.com!yon From: yon@apollo.HP.COM (David Yon) Newsgroups: comp.lang.smalltalk Subject: Smalltalk V/286 TopPanes Message-ID: <47d02008.20b6d@apollo.HP.COM> Date: 3 Jan 90 12:28:00 GMT Sender: root@apollo.HP.COM Reply-To: yon@apollo.HP.COM (David Yon) Organization: Hewlett-Packard Apollo Division - Chelmsford, MA Lines: 23 Has anyone had trouble with seemingly "orphaned" TopPanes (and their associated subpanes and editors)? I'm working on a prototype which has a lot of activity in terms of creating new TopPanes (for editing objects) which only remain open for a short time. I first noticed a problem when I tried to remove my subclass of TextEditor called "LineEditor", a specialized Editor for single-line text panes. Since I recieved the Goodies#2 with the Field Pane Class, I no longer had any use for it. At any rate, when I tried to remove LineEditor from the system, I got the message, "has instances". I evaluated "LineEditor allInstances" and lo and behold there were around 10 instances remaining. Curious, I also evaluated "TopPane allInstances", and found that even though there were only 5 windows opens on the screen, there were 23 instances of TopPane in the system dictionary. Upon closer inspection, I found that these were instances of windows that I had closed long ago. Why would these still be around? When I created the TopPanes, they were attached only to temporary variables. Why wouldn't they disappear when I clicked the close box? Any help appreciated...