Skip to content

Commit 403f110

Browse files
committed
Remove atexit() call on Win32 code path that cause crashes on mapserv
Reported on http://lists.osgeo.org/pipermail/mapserver-dev/2014-October/014269.html The cleanup done by the atexit() callback is redundant with the one done by msCleanup(0) at the end of the main().
1 parent bdd421c commit 403f110

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mapserv.c

-4
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,6 @@ int main(int argc, char *argv[])
234234
#ifdef USE_FASTCGI
235235
msIO_installFastCGIRedirect();
236236

237-
#ifdef WIN32
238-
atexit( msCleanupOnExit );
239-
#endif
240-
241237
/* In FastCGI case we loop accepting multiple requests. In normal CGI */
242238
/* use we only accept and process one request. */
243239
while( FCGI_Accept() >= 0 ) {

0 commit comments

Comments
 (0)