Skip to content
Browse files
Remove atexit() call on Win32 code path that cause crashes on mapserv
Reported on
The cleanup done by the atexit() callback is redundant with the one done
by msCleanup(0) at the end of the main().
  • Loading branch information
rouault committed Oct 19, 2014
1 parent bdd421c commit 403f1100da19d302dae1cc869ce25915e10749a6
Showing 1 changed file with 0 additions and 4 deletions.
@@ -234,10 +234,6 @@ int main(int argc, char *argv[])

#ifdef WIN32
atexit( msCleanupOnExit );

/* In FastCGI case we loop accepting multiple requests. In normal CGI */
/* use we only accept and process one request. */
while( FCGI_Accept() >= 0 ) {

0 comments on commit 403f110

Please sign in to comment.