🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #350

Re: Destroying Zones

#350
From: simsong Simson L. Garfinkel
Date: Thu, 30 Jul 1992 11:28
16 lines
1332 bytes
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
Technical Details
Message-ID: <1992Jul30.112824.8328@next.cambridge.ma.us>
Path: arc1-ca.pugleaf.net!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
References: <1992Jul27.010436.1749@kakwa.ucs.ualberta.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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