From: Zeev Suraski Date: Thu, 10 Feb 2000 16:52:07 +0000 (+0000) Subject: More cleanup X-Git-Tag: BEFORE_SAPIFICATION_FEB_10_2000~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=945e9c3f2098685e2960b825b95737843a356581;p=php More cleanup --- diff --git a/main/main.c b/main/main.c index 329533de33..bd80ba0cdd 100644 --- a/main/main.c +++ b/main/main.c @@ -898,22 +898,16 @@ void php_module_shutdown() if (!module_initialized) { return; } -#if !USE_SAPI + /* close down the ini config */ php_config_ini_shutdown(); -#endif -#if (WIN32|WINNT) && !(USE_SAPI) +#if (WIN32|WINNT) /*close winsock */ WSACleanup(); #endif -#if CGI_BINARY - fflush(stdout); -#endif -#if 0 /* SAPI */ - sapi_rqst->flush(sapi_rqst->scid); -#endif + sapi_flush(); global_lock_destroy(); zend_shutdown();