Skip to content
Commit 749bc18c authored by Pascal Nowack's avatar Pascal Nowack
Browse files

session-rdp: Stop leaking session sources when session creation fails

Currently, the monitor layout update source is leaked, when the session
creation fails.
This GSource, however, must be destroyed, when the session is stopped
and not later.

To handle both the success and fail case, add a helper method, where
the existing session sources are cleared, when the session stops or
when it is disposed.
parent 09ea193f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment