Fix error in WaylandSurface::testDisconnect

Authored by davidedmundson on Dec 19 2017, 7:28 AM.

Description

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

Details

Committed
davidedmundsonDec 19 2017, 7:28 AM
Reviewer
Plasma
Differential Revision
D9402: Fix error in WaylandSurface::testDisconnect
Parents
R127:4ec30b07d5b0: Explicit QCOMPARE(QString,QString)
Branches
Unknown
Tags
Unknown