mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
search: Make sure to clear the timeout
This commit is contained in:
parent
7a11964dfb
commit
99c29366ee
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue