PlasmaScreencastV1Session: release the screencast stream on teardown

The destructor never released the ScreencastingStream or the fake-input object, and neither has a parent to release them either. That's what leaves KWin's share indicator behind on an abrupt disconnect.

Found alongside the dead-peer-detection fixes in !233 (closed), but a different root cause in a different subsystem, so split out.

Edited by Nick Haghiri

Merge request reports

Loading