Re: XForms: fl_finish atexit and child processes

Steve Lamont (
Thu, 29 Jan 98 07:49:49 PST

# To subscribers of the xforms list from (Steve Lamont) :

> If you register fl_finish using atexit to nicely disconnect from X server at
> program termination then you have a problem with child processes which exit
> or die. In such a case the X server connection is prematurely terminated.
> This is because the child process also has fl_finish registered.

Why register it in the first place? XForms should clean up the client
correctly by default.

This is a hack, but you could write a little wrapper for fl_finish()
which tests to see if it's the parent or the child and acts

To unsubscribe, send the message "unsubscribe" to or see
XForms Home Page:
List Archive: