From 267eb0e9fa4e655791026a58797a8c56a26f64b6 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 17 Dec 2020 13:03:18 +0200 Subject: [PATCH] Fix NightColorTest Currently, the test crashes because the ColorManager is not created. --- autotests/integration/kwin_wayland_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autotests/integration/kwin_wayland_test.cpp b/autotests/integration/kwin_wayland_test.cpp index a888f7b33d..42f50489ca 100644 --- a/autotests/integration/kwin_wayland_test.cpp +++ b/autotests/integration/kwin_wayland_test.cpp @@ -89,6 +89,7 @@ WaylandTestApplication::~WaylandTestApplication() } waylandServer()->terminateClientConnections(); destroyCompositor(); + destroyColorManager(); } void WaylandTestApplication::performStartup() @@ -127,6 +128,7 @@ void WaylandTestApplication::performStartup() // first load options - done internally by a different thread createOptions(); + createColorManager(); waylandServer()->createInternalConnection(); // try creating the Wayland Backend