[server] Don't destroy ServerSideDecorationInterface when parent…

Authored by graesslin on May 30 2016, 8:53 AM.

Description

[server] Don't destroy ServerSideDecorationInterface when parent SurfaceInterface is destroyed

Summary:
Destroying the ServerSideDecorationInterface on the server side before
the client has a chance to cleanup results in a protocol error:
wl_display@1: error 0: invalid object 7

Which would terminate the client. If we would not destroy the resource,
but only delete the ServerSideDecorationInterface it could result in
heap-use-after-free.

So just don't do anything, the client needs to cleanup which will result
in the ServerSideDecorationInterface being deleted.

Reviewers: Plasma

Subscribers: plasma-devel

Tags: Plasma

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