diff options
author | Mat Trudel <mat@geeky.net> | 2010-10-03 12:29:51 -0400 |
---|---|---|
committer | Mat Trudel <mat@geeky.net> | 2010-10-03 12:29:51 -0400 |
commit | 793eeb372da3db405ce4494cb2ebabfc86c56190 (patch) | |
tree | a090c7d45a5e4cfd7ef464796d22bec644a135d5 | |
parent | 4e9f10e5a82ce22c9992833ff13c34d2ed0506a8 (diff) | |
download | net-ssh-gateway-793eeb372da3db405ce4494cb2ebabfc86c56190.tar.gz |
Explicitly pass the eventloop thread to avoid 1.9 specific resource starvation
-rw-r--r-- | lib/net/ssh/gateway.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/ssh/gateway.rb b/lib/net/ssh/gateway.rb index 214dd35..83bf671 100644 --- a/lib/net/ssh/gateway.rb +++ b/lib/net/ssh/gateway.rb @@ -192,6 +192,7 @@ class Net::SSH::Gateway @session_mutex.synchronize do @session.process(0.1) end + Thread.pass end end end |