зеркало из https://github.com/mozilla/pjs.git
Bug 449371 Firefox/Thunderbird crashes at exit [@ gdk_display_x11_finalize], p=Brian.Lu at sun.com r=vladimir sr=roc
This commit is contained in:
Родитель
6a2f33feb1
Коммит
07e72e7412
|
@ -123,7 +123,13 @@ nsScreenManagerGtk :: ~nsScreenManagerGtk()
|
|||
mRootWindow = nsnull;
|
||||
}
|
||||
|
||||
#ifdef MOZ_X11
|
||||
/* On Solaris, XineramaIsActive() registers a callback function close_display()
|
||||
* in X, which is to be called in XCloseDisplay().
|
||||
*
|
||||
* We can't unload libXinerama.so.1 here because this will make
|
||||
* the address of close_display() registered in X to be invalid and
|
||||
* it will crash when XCloseDisplay() is called later. */
|
||||
#if defined (MOZ_X11) && !defined (SOLARIS)
|
||||
if (mXineramalib && mXineramalib != SCREEN_MANAGER_LIBRARY_LOAD_FAILED) {
|
||||
PR_UnloadLibrary(mXineramalib);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче