Fix org_kde_plasma_surface destroyer lambda leak
This commit is contained in:
parent
ab53b4eab7
commit
7dbf331e18
|
@ -97,7 +97,7 @@ QtWayland::org_kde_plasma_surface WaylandIntegration::Private::plasmaSurface(
|
||||||
if (it != plasmaShell->surfaces.cend()) {
|
if (it != plasmaShell->surfaces.cend()) {
|
||||||
plasmaShell->surfaces.erase(it);
|
plasmaShell->surfaces.erase(it);
|
||||||
}
|
}
|
||||||
}, lifetime);
|
}, result.first->second.lifetime());
|
||||||
|
|
||||||
return result.first->second;
|
return result.first->second;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user