projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da72be
)
Remove unneeded flag check
author
Saúl Ibarra Corretgé
<saghul@gmail.com>
Wed, 3 Aug 2016 11:52:17 +0000
(12:52 +0100)
committer
Saúl Ibarra Corretgé
<saghul@gmail.com>
Wed, 3 Aug 2016 11:52:17 +0000
(12:52 +0100)
stop_flag is only set if uv_stop was called, which is never the case, so
skipping the test should be harmless.
atom/common/node_bindings.cc
patch
|
blob
|
history
diff --git
a/atom/common/node_bindings.cc
b/atom/common/node_bindings.cc
index
2b7fb39
..
2207046
100644
(file)
--- a/
atom/common/node_bindings.cc
+++ b/
atom/common/node_bindings.cc
@@
-232,7
+232,7
@@
void NodeBindings::UvRunOnce() {
// Deal with uv events.
int r = uv_run(uv_loop_, UV_RUN_NOWAIT);
- if (r == 0
|| uv_loop_->stop_flag != 0
)
+ if (r == 0)
message_loop_->QuitWhenIdle(); // Quit from uv.
// Tell the worker thread to continue polling.