Fix error in WaylandSurface::testDisconnect
Summary: This test deletes the client wayland connection. We then finish the test and call test cleanup which releases m_idleInhititManager. Calling release after the connection is destroyed is an error. Hence the explicit destroy. Test Plan: Built tests with ASAN No more crash Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: plasma-devel, #frameworks Tags: #frameworks, #plasma Differential Revision: https://phabricator.kde.org/D9402
This commit is contained in:
parent
19ade014bc
commit
53a8a8e6be
1 changed files with 1 additions and 0 deletions
|
@ -1029,6 +1029,7 @@ void TestWaylandSurface::testDisconnect()
|
|||
m_shm->destroy();
|
||||
m_compositor->destroy();
|
||||
m_queue->destroy();
|
||||
m_idleInhibitManager->destroy();
|
||||
}
|
||||
|
||||
void TestWaylandSurface::testOutput()
|
||||
|
|
Loading…
Reference in a new issue