From: <and...@us...> - 2011-09-05 22:00:22
|
Revision: 11909 http://plplot.svn.sourceforge.net/plplot/?rev=11909&view=rev Author: andrewross Date: 2011-09-05 22:00:16 +0000 (Mon, 05 Sep 2011) Log Message: ----------- Bit of a workaround to prevent qt driver being unloaded. This causes a crash on exit with Qt 4.7.3. Modified Paths: -------------- trunk/src/plcore.c Modified: trunk/src/plcore.c =================================================================== --- trunk/src/plcore.c 2011-09-03 22:54:45 UTC (rev 11908) +++ trunk/src/plcore.c 2011-09-05 22:00:16 UTC (rev 11909) @@ -3272,6 +3272,10 @@ driver->drvnam, drvspec ); driver->dlhand = lt_dlopenext( drvspec ); + + if (strcmp(driver->drvnam,"qt") == 0) { + lt_dlmakeresident(driver->dlhand); + } } // If it still isn't loaded, then we're doomed. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |