diff options
author | murgatroid99 <mlumish@google.com> | 2016-10-07 09:55:35 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2016-10-07 09:55:35 -0700 |
commit | 2c287ca750c114c7230e57a1231d7e22863ab53d (patch) | |
tree | 2c74c603ba071ccb3c0ab64e2494d28f641d2cac /src/node | |
parent | eebb129fd39c050a9d3b325fcd89df8aadb09218 (diff) |
UV tests pass on linux
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/ext/node_grpc.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/node/ext/node_grpc.cc b/src/node/ext/node_grpc.cc index a246a8c678..b8013c4193 100644 --- a/src/node/ext/node_grpc.cc +++ b/src/node/ext/node_grpc.cc @@ -42,6 +42,10 @@ #include "grpc/support/log.h" #include "grpc/support/time.h" +#ifdef GRPC_UV +#include "src/core/lib/iomgr/pollset_uv.h" +#endif + #include "call.h" #include "call_credentials.h" #include "channel.h" @@ -439,6 +443,9 @@ void init(Local<Object> exports) { uv_signal_start(&signal_handle, signal_callback, SIGUSR2); uv_unref((uv_handle_t *)&signal_handle); +#ifdef GRPC_UV + grpc_pollset_work_run_loop = 0; +#endif grpc::node::Call::Init(exports); grpc::node::CallCredentials::Init(exports); |