[server] Add resource nullptr check to ShellSurfaceInterface

Authored by graesslin on May 23 2016, 12:18 PM.

Description

[server] Add resource nullptr check to ShellSurfaceInterface

The ShellSurface might have the resource destroyed, before being deleted,
so there is a short time frame where resource might be null.

Crash was caught by KWin.

Reviewed-By: sebas and notmart

Details

Committed
graesslinMay 23 2016, 12:20 PM
Parents
R127:9da82d72ec6c: [server] Compare ClientConnection instead of wl_client in SeatInterface
Branches
Unknown
Tags
Unknown