magnifier: Unset variable holding GSource ID

Otherwise we try to remove the no longer existing GSource
later on.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1902>
This commit is contained in:
Carlos Garnacho 2021-06-28 14:17:25 +02:00
parent 54a71944ba
commit a363f1343a

View File

@ -1166,6 +1166,8 @@ var ZoomRegion = class ZoomRegion {
this._yDelayed = null;
}
this._scrollContentsTimerId = 0;
return GLib.SOURCE_REMOVE;
});