Fix NightColorTest

Currently, the test crashes because the ColorManager is not created.
This commit is contained in:
Vlad Zahorodnii 2020-12-17 13:03:18 +02:00
parent 533ec39af5
commit 267eb0e9fa

View file

@ -89,6 +89,7 @@ WaylandTestApplication::~WaylandTestApplication()
} }
waylandServer()->terminateClientConnections(); waylandServer()->terminateClientConnections();
destroyCompositor(); destroyCompositor();
destroyColorManager();
} }
void WaylandTestApplication::performStartup() void WaylandTestApplication::performStartup()
@ -127,6 +128,7 @@ void WaylandTestApplication::performStartup()
// first load options - done internally by a different thread // first load options - done internally by a different thread
createOptions(); createOptions();
createColorManager();
waylandServer()->createInternalConnection(); waylandServer()->createInternalConnection();
// try creating the Wayland Backend // try creating the Wayland Backend