Skip to content

Commit

Permalink
Flush file buffers during process termination (#4505)
Browse files Browse the repository at this point in the history
  • Loading branch information
szekerest committed Oct 21, 2012
1 parent b0422d3 commit b578571
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions maputil.c
Expand Up @@ -1904,6 +1904,11 @@ void msCleanup(int signal)

/* Clean up the vtable factory */
msPluginFreeVirtualTableFactory();

#ifdef _WIN32
/* Flushing file buffers on process termination */
fflush(NULL);
#endif
}

/************************************************************************/
Expand Down

0 comments on commit b578571

Please sign in to comment.