🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #6992

Re: Closing DAs

#6992
From: wade blomgren
Date: Fri, 29 Aug 1986 00:06
22 lines
1483 bytes
In article <49@runx.OZ>, baron@runx.OZ (Jason Haines) writes:
> 
> If you have a number of open DAs, and you quit from the current application, 
> all the DAs are killed without allowing them to clean up (save files,etc.).
> Isn't it possible for an application to keep track of the open DAs, and their
> refnums (which can be found from the windowKind field of its window), so that 
> when it exits to shell, it first calls CloseDeskAcc for all open DAs??
> 


I was under the impression that the responsibility for cleanup prior to a
heap reinitialization was on the DA itself, and if a DA has potential for
needing cleanup, it should set the dNeedGoodBye flag in the drvrFlags for
the DA.  Then the system will notify the DA if you are going to quit the
application out from under it.  (IM II-188..189)

Of course, this does not help if there are x amount of DA's already 
written that don't do this.  

Wade Blomgren
UCSD
...!sdcc12!st94wb
Technical Details
Message-ID: <670@sdcc12.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!caip!nike!ucbcad!ucbvax!sdcsvax!sdcc6!sdcc12!st94wb
References: <49@runx.OZ>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!caip!nike!ucbcad!ucbvax!sdcsvax!sdcc6!sdcc12!st94wb
From: st94wb@sdcc12.UUCP (wade blomgren)
Newsgroups: net.micro.mac
Subject: Re: Closing DAs
Message-ID: <670@sdcc12.UUCP>
Date: Thu, 28-Aug-86 20:06:00 EDT
Article-I.D.: sdcc12.670
Posted: Thu Aug 28 20:06:00 1986
Date-Received: Fri, 29-Aug-86 05:49:49 EDT
References: <49@runx.OZ>
Organization: U.C. San Diego, Academic Computer Center
Lines: 22
Summary: goodBye kiss