diff options
author | Alexander Polcyn <apolcyn@google.com> | 2017-03-22 15:12:32 -0700 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2017-03-22 15:12:32 -0700 |
commit | 02d131b5ef69e5427b078caa68c49da8eda91bac (patch) | |
tree | 3db96ccda2f48188eddd7aad9fcc19b183b1d4e0 /src/ruby/end2end | |
parent | 513070cf20c973727c7f5899ac9018f7fd349b1f (diff) |
fix mac crash on abruptly ended server thread
Diffstat (limited to 'src/ruby/end2end')
-rwxr-xr-x | src/ruby/end2end/sig_int_during_channel_watch_driver.rb | 2 |
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 |