Source

Target

Commits (1)
Showing with 2 additions and 0 deletions
......@@ -92,6 +92,8 @@ QWaylandSurface::~QWaylandSurface()
WaylandClient *QWaylandSurface::client() const
{
Q_D(const QWaylandSurface);
if (d->isDestroyed())
return Q_NULLPTR;
return d->resource()->client();
}
......