MirSurface should call deleteLater() if the last MirSurfaceItem unregisters from it and it's no longer live() or pointed to by a session.
Ie, this code should be kept:
""" if (m_viewCount == 0) { [..] if (m_session.isNull() || !m_live) { deleteLater(); } } """
« Back to merge proposal
MirSurface should call deleteLater() if the last MirSurfaceItem unregisters from it and it's no longer live() or pointed to by a session.
Ie, this code should be kept:
"""
deleteLater( );
if (m_viewCount == 0) {
[..]
if (m_session.isNull() || !m_live) {
}
}
"""