apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@apache.org>
Subject Re: cvs commit: apr/test testthread.c
Date Fri, 19 Jul 2002 21:25:13 GMT
On Fri, Jul 19, 2002 at 05:49:24PM -0000, bnicholes@apache.org wrote:
>   @@ -186,6 +186,8 @@
>        }
>        printf("OK\n");
>    
>   +    apr_terminate();
>   +
>        return 0;
>    }

The proper thing to do is:

atexit(apr_terminate);

at the beginning of the program (notably near the apr_initialize
call).  -- justin

Mime
View raw message