-
Committer:
Gerry Boland
-
Date:
2017-03-02 12:02:54 UTC
-
Revision ID:
gerry.boland@canonical.com-20170302120254-j1d588896qje854t
Stop MirSurface deleting itself, ensure SurfaceManager alone manages MirSurface lifetimes
This fixes bugs where a MirSurface would call deleteLater on itself, but SurfaceManager would have no idea and keep a pointer to that MirSurface in its internal list.
Instead SurfaceManager listens for signals from MirSurface and decides when to delete it.