Skip to content

Commit 41a8e9c

Browse files
committed
statusNotifierWatcher: Remove idle promise on bus seeking
We're already depending on promises that implies going waiting anyways, so we can avoid this.
1 parent e844a30 commit 41a8e9c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

statusNotifierWatcher.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ var StatusNotifierWatcher = class AppIndicatorsStatusNotifierWatcher {
150150
// StatusNotifierItem interface... However let's do it after a low
151151
// priority idle, so that it won't affect startup.
152152
const cancellable = this._cancellable;
153-
await new PromiseUtils.IdlePromise(GLib.PRIORITY_LOW, cancellable);
154153
const bus = Gio.DBus.session;
155154
const uniqueNames = await Util.getBusNames(bus, cancellable);
156155
const introspectName = async name => {

0 commit comments

Comments
 (0)