Clear display to avoid potential problems.

Running --nocaps under massif; it is unexpected to see
fire_glxtest_process doing heavy lifting glx work.
This commit is contained in:
Michael Meeks 2017-04-08 13:31:07 +01:00
parent 9ea75f974c
commit 36900f7d78

View file

@ -453,6 +453,10 @@ int main(int argc, char** argv)
"user:*file://" LOOLWSD_CONFIGDIR "/loolkitconfig.xcu "
#endif
);
// No-caps tracing can spawn eg. glxinfo & other oddness.
unsetenv("DISPLAY");
::setenv("CONFIGURATION_LAYERS", layers.c_str(),
1 /* override */);