home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!mintaka.lcs.mit.edu!ai-lab!next.cambridge.ma.us!simsong
- From: simsong (Simson L. Garfinkel)
- Newsgroups: comp.sys.next.programmer
- Subject: Re: Destroying Zones
- Message-ID: <1992Jul30.112824.8328@next.cambridge.ma.us>
- Date: 30 Jul 92 11:28:24 GMT
- References: <1992Jul27.010436.1749@kakwa.ucs.ualberta.ca>
- Sender: simsong@next.cambridge.ma.us
- Reply-To: simsong@next.cambridge.ma.us
- Organization: Simson Garfinkel and Associates, Inc.
- Lines: 16
-
- In article <1992Jul27.010436.1749@kakwa.ucs.ualberta.ca>
- gary@niagara.ucs.ualberta.ca (Gary Ritchie) writes:
- > I'm loading a nib file into its own zone, so that I can later destroy the
- > zone and make everything go away. I'm having a problem because the nib
- > file contains Windows, and the program has a segmentation fault shortly
- > after the zone is destroyed.
- >
- > I remember glancing at an article in the spring NeXTworld magazine which
- > discussed how to deal with freeing zones which contain Windows, but I
- > don't have access to that particular issue anymore.
-
- You must take the windows off the window list before you destroy them. You can
- do this by accessing the window list directly....
- --
-
- ................................................................simson
-