Fix ASAN warning on TestXdgForeign

Authored by davidedmundson on Dec 19 2017, 3:56 PM.

Description

Fix ASAN warning on TestXdgForeign

Summary:
Internally XdgForeign has some delete laters

If we clean up the connection immediately we delete them after we kill
the connection resulting in an error.

Kwin isn't going to tear down the connection in response to a resource
unbinding so we can just fix the test.

Test Plan:
Compiled with ASAN
Got further

Reviewers: Plasma, graesslin

Reviewed By: Plasma, graesslin

Subscribers: plasma-devel, Frameworks

Tags: Frameworks, Plasma

Differential Revision: https://phabricator.kde.org/D9406

Details

Committed
davidedmundsonDec 19 2017, 3:56 PM
Reviewer
Plasma
Differential Revision
D9406: Fix ASAN warning on TestXdgForeign
Parents
R127:9f8d3f5ff247: Replace QCOMPARE(nullptr) with QVERIFY
Branches
Unknown
Tags
Unknown