diff --git a/js/misc/ibusManager.js b/js/misc/ibusManager.js index 55e2fd97b..e43f88c7c 100644 --- a/js/misc/ibusManager.js +++ b/js/misc/ibusManager.js @@ -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();