diff --git a/js/ui/search.js b/js/ui/search.js index b8ee1b7b2..7998a9bc4 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -481,8 +481,10 @@ const SearchResults = new Lang.Class({ this._cancellable.reset(); if (!terms) { - if (this._searchTimeoutId > 0) + if (this._searchTimeoutId > 0) { + this._searchTimeoutId = 0; GLib.source_remove(this._searchTimeoutId); + } return; }