Skip to content

screen-cast/src: Remove follow up timeout source on disable

Jonas Ådahl requested to merge cherry-pick-d67ba3ea into gnome-3-36

We failed to remove the timeout source when disabling, meaning that if a follow up was scheduled, and shortly after we disabled the source, the timeout would be invoked after the source was freed causing use-after-free bugs.

Closes: #1337 (closed)

!1365 (merged)

(cherry picked from commit d67ba3ea)

Merge request reports