ibusManager: Cancel the preload engines timeout on clear

This is created when preloading but never cancelled if ibus disappears

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/743
This commit is contained in:
Marco Trevisan (Treviño) 2019-09-25 22:15:38 +02:00
parent 1cc766d636
commit 6a6d66486d

View File

@ -77,6 +77,11 @@ var IBusManager = class {
this._cancellable = null;
}
if (this._preloadEnginesId) {
GLib.source_remove(this._preloadEnginesId);
this._preloadEnginesId = 0;
}
if (this._panelService)
this._panelService.destroy();