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:
parent
1cc766d636
commit
6a6d66486d
@ -77,6 +77,11 @@ var IBusManager = class {
|
|||||||
this._cancellable = null;
|
this._cancellable = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this._preloadEnginesId) {
|
||||||
|
GLib.source_remove(this._preloadEnginesId);
|
||||||
|
this._preloadEnginesId = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (this._panelService)
|
if (this._panelService)
|
||||||
this._panelService.destroy();
|
this._panelService.destroy();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user