Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Call uv_async_init lazily to avoid keeping process alive.#48

Merged
kevinsawicki merged 1 commit intoatom:masterfrom
benjamn:issue-47-call-uv_async_init-lazily
Nov 21, 2014
Merged

Call uv_async_init lazily to avoid keeping process alive.#48
kevinsawicki merged 1 commit intoatom:masterfrom
benjamn:issue-47-call-uv_async_init-lazily

Conversation

@benjamn
Copy link
Copy Markdown
Contributor

@benjamn benjamn commented Nov 21, 2014

Fixes #47.

@benjamn benjamn force-pushed the issue-47-call-uv_async_init-lazily branch from 38af43a to 4c62a1d Compare November 21, 2014 03:03
@benjamn benjamn force-pushed the issue-47-call-uv_async_init-lazily branch from 4c62a1d to c6ddf18 Compare November 21, 2014 17:52
@kevinsawicki
Copy link
Copy Markdown
Contributor

Cool, thanks for this, I'm going to pull it and give it a spin.

I'd guess that this would make it so the --forceexit option is no longer needed when running the specs?

command: 'node --harmony-collections node_modules/jasmine-tagged/bin/jasmine-tagged --captureExceptions --forceexit --coffee spec/'

kevinsawicki added a commit that referenced this pull request Nov 21, 2014
Call uv_async_init lazily to avoid keeping process alive.
@kevinsawicki kevinsawicki merged commit 987a085 into atom:master Nov 21, 2014
@kevinsawicki
Copy link
Copy Markdown
Contributor

Tested it out, thanks for fixing this 👍 🚢

@kevinsawicki
Copy link
Copy Markdown
Contributor

Published in 2.3.3

@benjamn
Copy link
Copy Markdown
Contributor Author

benjamn commented Nov 22, 2014

Awesome, thanks for the quick turnaround!

benjamn added a commit to meteor/meteor that referenced this pull request Nov 22, 2014
I fixed atom/node-pathwatcher#47 with
atom/node-pathwatcher#48, and @kevinsawicki
published my changes to NPM as pathwatcher@2.3.3.

These changes make it so pathwatcher no longer keeps our test processes
alive when they would otherwise naturally exit.
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.

Merely calling require("pathwatcher") keeps the process from exiting

2 participants