From: erickson Date: Fri, 5 Aug 2005 15:38:30 +0000 (+0000) Subject: move the log_free to after the cleanup is done so we don't see X-Git-Tag: osrf_rel_2_0_1~1406 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dd00b5d36bbc62eb27ecc7058c6d33c139597479;p=OpenSRF.git move the log_free to after the cleanup is done so we don't see error logging going to the terminal after log_free git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@467 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/jserver/jserver-c_main.c b/src/jserver/jserver-c_main.c index 9bcd8cd..9c6fe2a 100644 --- a/src/jserver/jserver-c_main.c +++ b/src/jserver/jserver-c_main.c @@ -17,8 +17,8 @@ void launch_server(); void sig_hup_handler( int a ) { warning_handler(" +++ Re-launching server for SIGHUP"); - log_free(); jserver_free(js); + log_free(); unlink(unix_sock_file); launch_server(); @@ -28,8 +28,8 @@ void sig_hup_handler( int a ) { /* die gracefully */ void sig_int_handler( int a ) { warning_handler(" +++ Shutting down because of user signal"); - log_free(); jserver_free(js); + log_free(); unlink(unix_sock_file); exit(0); }