Skip to content

Conversation

@indutny
Copy link
Contributor

@indutny indutny commented Sep 6, 2016

uv_ref() can't be called from the non-event-loop thread. Furthermore,
it is not necessary in async.h, because open uv_async_t is already
holding the event loop from exiting.

See: #702

cc @jlongster

(NOTE: Tests for current master fail on my machine, so please check it with care!)

`uv_ref()` can't be called from the non-event-loop thread. Furthermore,
it is not necessary in `async.h`, because open `uv_async_t` is already
holding the event loop from exiting.

See: TryGhost#702
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 85.767% when pulling 553c6ea on indutny:fix/race-in-async-h into 7322ea7 on mapbox:master.

@indutny
Copy link
Contributor Author

indutny commented Sep 6, 2016

You are drunk @coveralls :D

@tmcw
Copy link
Contributor

tmcw commented Sep 22, 2016

👍 beautiful, thank you @indutny !

@tmcw tmcw merged commit cee778d into TryGhost:master Sep 22, 2016
@indutny
Copy link
Contributor Author

indutny commented Sep 22, 2016

ありがとうございます。

@indutny indutny deleted the fix/race-in-async-h branch September 22, 2016 18:26
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.

3 participants