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

Run clean up in a separate task #105

Merged
merged 2 commits into from
Jun 13, 2017
Merged

Run clean up in a separate task #105

merged 2 commits into from
Jun 13, 2017

Conversation

joshaber
Copy link
Contributor

This is addressing the same thing #103 was trying to address. See also electron/electron#9583, electron/electron#8685 and #98.

The root of the problem is that electron-mocha would try to delete Electron's userData directory out from under it while it was still running. That happened to work sometimes, but as those issues show, it's pretty fragile.

Instead, we could spawn a separate task to clean up after Electron's quit.

@joshaber
Copy link
Contributor Author

joshaber commented Jun 13, 2017

I'm not sure what that Appveyor failure is about 🤔 Seems like something's messed up with Appveyor's npm?

@inukshuk
Copy link
Collaborator

Awesome, let's try it! Thanks!

@inukshuk inukshuk merged commit 8ad9b4e into jprichardson:master Jun 13, 2017
@joshaber joshaber deleted the fix-up-cleanup branch June 13, 2017 20:20
@joshaber
Copy link
Contributor Author

Thank you!

@inukshuk
Copy link
Collaborator

Landed in 3.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants