OmniWeb prevents logout

Garance A Drosehn gad at eclipse.its.rpi.edu
Thu Feb 16 17:12:30 PST 1995


(continuing the thread of obscure programming trivia)

gad> appWillTerminate is the method that gets called when "Quit"
gad> is selected from the menu.  It is not called when the Workspace
gad> pulls the rug out from under the app.  To handle that case,
gad> you have to define a method appPowerOffIn:andSave:.

ek> Actually, after a timeout (~60 seconds if I remember), Workspace
ek> will kill the beligerant apps.  So you're not entirely stuck,
ek> just mostly stuck. :-)

and appPowerOffIn:andSave can extend that by sending the workspace
a message of   extendPowerOffBy:actual:
though I haven't tried that one myself.

So if the app really does want to hang itself, there is a noose
available  :-)

---
Garance Alistair Drosehn     =     gad at eclipse.its.rpi.edu
ITS Systems Programmer            (handles NeXT-type mail)
Rensselaer Polytechnic Institute;           Troy NY    USA


More information about the OmniWeb-l mailing list