Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid throwing an error when deactivating package #28

Merged
merged 1 commit into from
Oct 9, 2016
Merged

Avoid throwing an error when deactivating package #28

merged 1 commit into from
Oct 9, 2016

Conversation

Alhadis
Copy link

@Alhadis Alhadis commented Oct 2, 2016

While investigating an issue with icon loading, I noticed this flash in my console very briefly when reloading the window:

Figure 1

I can't confirm if this is what's causing the sporadic failures reported in #16, but I do know that Atom loads packages synchronously... which means it's subject to race conditions. So if an error occurred while deactivating every package whilst updating, it could interfere with the reactivation of every other package.

That's my theory at least. Even if it doesn't solve this stupid issue, you should at least know you're using a property that was deprecated over two years ago.

@Alhadis
Copy link
Author

Alhadis commented Oct 2, 2016

@hax Please use specs. Seriously. They would've alerted you long ago that you were using a deprecated property (which has now been removed from Atom's API, hence this breakage).

@hax hax added the bug label Oct 9, 2016
@hax hax merged commit aec7b82 into hax:master Oct 9, 2016
@hax
Copy link
Owner

hax commented Oct 9, 2016

@Alhadis
These are old code from original author, and in fact I already fix them in other commit which not merge to master yet. But I didn't know it can fix resource loading problem. Thank you.

@Alhadis Alhadis deleted the anomalies branch October 10, 2016 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants