autotests: Fix ASAN issues

Currently, InputRedirection is not destroyed before waylandServer(),
unlike in kwin_wayland, which causes some null dereferencing.
This commit is contained in:
Vlad Zahorodnii 2021-10-14 22:03:39 +03:00
parent b4a4e8a45d
commit d4dd370cf3

View file

@ -88,6 +88,7 @@ WaylandTestApplication::~WaylandTestApplication()
}
destroyInputMethod();
destroyCompositor();
destroyInput();
}
void WaylandTestApplication::performStartup()