summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMat Trudel <mat@geeky.net>2010-10-03 12:29:51 -0400
committerMat Trudel <mat@geeky.net>2010-10-03 12:29:51 -0400
commit793eeb372da3db405ce4494cb2ebabfc86c56190 (patch)
treea090c7d45a5e4cfd7ef464796d22bec644a135d5
parent4e9f10e5a82ce22c9992833ff13c34d2ed0506a8 (diff)
downloadnet-ssh-gateway-793eeb372da3db405ce4494cb2ebabfc86c56190.tar.gz
Explicitly pass the eventloop thread to avoid 1.9 specific resource starvation
-rw-r--r--lib/net/ssh/gateway.rb1
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