mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 605009 - Linux debug build with --disable-pango crashes during shutdown; r=karlt
This commit is contained in:
parent
340316d75a
commit
7a7c138786
@ -146,9 +146,16 @@ gfxPlatformGtk::~gfxPlatformGtk()
|
||||
delete gCodepointsWithNoFonts;
|
||||
gCodepointsWithNoFonts = NULL;
|
||||
|
||||
#ifdef NS_FREE_PERMANENT_DATA
|
||||
// do cairo cleanup *before* closing down the FTLibrary,
|
||||
// otherwise we'll crash when the gfxPlatform destructor
|
||||
// calls it (bug 605009)
|
||||
cairo_debug_reset_static_data();
|
||||
|
||||
FT_Done_FreeType(gPlatformFTLibrary);
|
||||
gPlatformFTLibrary = NULL;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
// It would be nice to do this (although it might need to be after
|
||||
|
Loading…
Reference in New Issue
Block a user