Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!snorkelwacker!bloom-beacon!MONIZ.BCM.TMC.EDU!jcarson From: jcarson@MONIZ.BCM.TMC.EDU (Janet L. Carson) Newsgroups: comp.windows.x Subject: cleaning up from exit Message-ID: <9003022256.AA07109@moniz.bcm.tmc.edu> Date: 2 Mar 90 22:56:19 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 21 With regards to the the "cleaning up before exit" problem recently discussed on xpert, I would like to propose the following addition to the Xt Intrinsics: XtAddCleanUpProc(routine, client_data) XtRemoveCleanUpProc(routine, client_data) These would add or remove a routine from a list of routines to be called when the application exits. To exit an application, the programmer would call: XtExit(value) which would call all of the clean up procedures and then call exit(value). --Janet Janet L. Carson internet: jcarson@bcm.tmc.edu Baylor College of Medicine uucp: {rutgers,mailrus}!bcm!jcarson