summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-12-07 12:51:54 +0100
committerLuboš Luňák <l.lunak@collabora.com>2020-12-08 10:08:28 +0100
commitb7384249db1446cdbbd1f98d4c90c8d8d22c69b3 (patch)
tree6a1e3ad84d77f59521935c98b2b9613cd3d4df27 /desktop
parent8932cc857f62be4073a7de69491b1fd8565c44aa (diff)
reap glxtest process early in soffice_main unconditionally
With the VCL OpenGL backend code removal also isVCLOpenGLEnabled() will be removed, so there won't be anything to call this. And reaching this point in soffice_main takes long enough for the call to be non-blocking, so there's no good reason to delay it anyway. Change-Id: I8f7fee3d8d53bd632672afd8e8941ee7f922f8e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107361 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index c54aea9dd4f7..112be4caf94d 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1548,11 +1548,8 @@ int Desktop::Main()
CheckOpenCLCompute(xDesktop);
#endif
- // In headless mode, reap the process started by fire_glxtest_process() early in soffice_main
- // (desktop/source/app/sofficemain.cxx).
- if (rCmdLineArgs.IsHeadless()) {
- reap_glxtest_process();
- }
+ // Reap the process started by fire_glxtest_process().
+ reap_glxtest_process();
// Release solar mutex just before we wait for our client to connect
{