[autotest] Fix crash in TestWindowManagement::cleanup
Didn't delete the m_windowManagement causing a crash on teardown.
This commit is contained in:
parent
b6cea86610
commit
eff6a69544
1 changed files with 4 additions and 0 deletions
|
@ -201,6 +201,10 @@ void TestWindowManagement::cleanup()
|
|||
delete m_queue;
|
||||
m_queue = nullptr;
|
||||
}
|
||||
if (m_windowManagement) {
|
||||
delete m_windowManagement;
|
||||
m_windowManagement = nullptr;
|
||||
}
|
||||
if (m_registry) {
|
||||
delete m_registry;
|
||||
m_registry = nullptr;
|
||||
|
|
Loading…
Reference in a new issue