search: Make sure to clear the timeout
This commit is contained in:
parent
7a11964dfb
commit
99c29366ee
@ -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…
Reference in New Issue
Block a user