aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/end2end
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2017-03-22 15:12:32 -0700
committerGravatar Alexander Polcyn <apolcyn@google.com>2017-03-22 15:12:32 -0700
commit02d131b5ef69e5427b078caa68c49da8eda91bac (patch)
tree3db96ccda2f48188eddd7aad9fcc19b183b1d4e0 /src/ruby/end2end
parent513070cf20c973727c7f5899ac9018f7fd349b1f (diff)
fix mac crash on abruptly ended server thread
Diffstat (limited to 'src/ruby/end2end')
-rwxr-xr-xsrc/ruby/end2end/sig_int_during_channel_watch_driver.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ruby/end2end/sig_int_during_channel_watch_driver.rb b/src/ruby/end2end/sig_int_during_channel_watch_driver.rb
index 8c9fecd549..84d039bf19 100755
--- a/src/ruby/end2end/sig_int_during_channel_watch_driver.rb
+++ b/src/ruby/end2end/sig_int_during_channel_watch_driver.rb
@@ -62,6 +62,8 @@ def main
raise 'Timed out waiting for client process. It likely hangs when a ' \
'SIGINT is sent while there is an active connectivity_state call'
end
+
+ server_runner.stop
end
main