From: <fa...@us...> - 2012-01-09 04:35:26
|
Revision: 973 http://freeglut.svn.sourceforge.net/freeglut/?rev=973&view=rev Author: fayjf Date: 2012-01-09 04:35:20 +0000 (Mon, 09 Jan 2012) Log Message: ----------- Adding further comments to the removal of the "atexit" call from the Windows build, per e-mail from Diederick Niehorster dated 1/8/12 at 10:06 PM. Modified Paths: -------------- trunk/freeglut/freeglut/src/freeglut_init.c Modified: trunk/freeglut/freeglut/src/freeglut_init.c =================================================================== --- trunk/freeglut/freeglut/src/freeglut_init.c 2012-01-08 19:25:33 UTC (rev 972) +++ trunk/freeglut/freeglut/src/freeglut_init.c 2012-01-09 04:35:20 UTC (rev 973) @@ -392,7 +392,10 @@ fgState.Initialised = GL_TRUE; /* Avoid registering atexit callback on Win32 as it results in an access - * violation due to calling into a module which has been unloaded. */ + * violation due to calling into a module which has been unloaded. + * Any cleanup isn't needed on Windows anyway, the OS takes care of it.c + * see: http://blogs.msdn.com/b/oldnewthing/archive/2012/01/05/10253268.aspx + */ #if ( TARGET_HOST_MS_WINDOWS == 0 ) atexit(fgDeinitialize); #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |