diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-31 17:06:21 +0000 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-31 17:06:21 +0000 |
commit | 69f5941b3f83f5aea7f67c5ac73c75ef647715c0 (patch) | |
tree | 60620956e3306eca077b7a15b1038175dc999d5d /src/ruby/end2end/sig_int_during_channel_watch_client.rb | |
parent | e54eb13ed715f747272b14537be20622f6f72473 (diff) | |
parent | bf2d87c816d59644bcafeb8384dd966c077fcae6 (diff) |
Merge github.com:grpc/grpc into selectivity
Diffstat (limited to 'src/ruby/end2end/sig_int_during_channel_watch_client.rb')
-rwxr-xr-x | src/ruby/end2end/sig_int_during_channel_watch_client.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ruby/end2end/sig_int_during_channel_watch_client.rb b/src/ruby/end2end/sig_int_during_channel_watch_client.rb index 389fc5ba33..0c6a374925 100755 --- a/src/ruby/end2end/sig_int_during_channel_watch_client.rb +++ b/src/ruby/end2end/sig_int_during_channel_watch_client.rb @@ -46,6 +46,8 @@ def main end end.parse! + trap('SIGINT') { exit 0 } + thd = Thread.new do child_thread_channel = GRPC::Core::Channel.new("localhost:#{server_port}", {}, |