Bug 1715245 - Leave X11 connection open, r=aosmond

Closing the X11 connection is buggy on nv prop. drivers. Leave
it open, the process will exit anyways.

Differential Revision: https://phabricator.services.mozilla.com/D117325
This commit is contained in:
Robert Mader 2021-06-09 14:52:15 +00:00
Родитель fed8756f39
Коммит c5da1a14d6
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -849,7 +849,10 @@ static bool x11_egltest(int pci_count) {
get_x11_screen_info(dpy);
XCloseDisplay(dpy);
// Bug 1715245: Closing the display connection here crashes on NV prop.
// drivers. Just leave it open, the process will exit shortly after anyway.
// XCloseDisplay(dpy);
record_value("TEST_TYPE\nEGL\n");
return true;
}