[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kviewshell-0.7/plugins/dvi
From:       Stefan Kebekus <kebekus () kde ! org>
Date:       2008-05-10 6:29:00
Message-ID: 1210400940.880891.12343.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 806123 by kebekus:

fixes infrequent crash


 M  +3 -0      fontpool.cpp  


--- branches/work/kviewshell-0.7/plugins/dvi/fontpool.cpp #806122:806123
@@ -72,6 +72,9 @@
   kdDebug(kvs::dvi) << "fontPool::~fontPool() called" << endl;
 #endif
 
+  // need to manually clear the fonts _before_ freetype gets unloaded
+  fontList.clear();
+  
 #ifdef HAVE_FREETYPE
   if (FreeType_could_be_loaded == true)
     FT_Done_FreeType( FreeType_library );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic