Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Subscribe to Xcode launch notification synchronously #382

Merged
merged 1 commit into from
Nov 13, 2015

Conversation

kattrali
Copy link
Contributor

The plugin itself always loads as can be noted in the console, but the menu item would intermittently fail to appear.

There seems to be a (common) edge case where the subscription to the notification would be deferred until after the notification is fired. This change fixes it by subscribing immediately upon initialization and
then deferring the menu item creation block instead as may be needed.

Fixes #381, #380, #379

There seems to be a (common) edge case where the subscription to the
notification would be deferred until after the notification is fired.
This change fixes it by subscribing immediately upon initialization and
then deferring the menu item creation block instead as may be needed.
@jurre
Copy link
Collaborator

jurre commented Nov 13, 2015

LGTM 👍

@supermarin
Copy link
Collaborator

👍

supermarin added a commit that referenced this pull request Nov 13, 2015
Subscribe to Xcode launch notification synchronously
@supermarin supermarin merged commit df815bc into master Nov 13, 2015
@supermarin supermarin deleted the menu-item-missing-fix branch November 13, 2015 21:04
@doubleday doubleday mentioned this pull request Nov 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xcode7.1.1
3 participants