We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9960a8e commit de8cbf3Copy full SHA for de8cbf3
src/launcher.ts
@@ -104,11 +104,17 @@ export class Launcher extends search.Search {
104
this.close()
105
} else if ("Update" in response) {
106
this.clear()
107
+
108
if (this.append_id !== null) {
109
GLib.source_remove(this.append_id)
110
this.append_id = null
111
}
112
113
+ if (response.Update.length === 0) {
114
+ this.cleanup()
115
+ return;
116
+ }
117
118
this.append_id = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
119
const item = response.Update.shift()
120
if (item) {
0 commit comments