From 793eeb372da3db405ce4494cb2ebabfc86c56190 Mon Sep 17 00:00:00 2001 From: Mat Trudel Date: Sun, 3 Oct 2010 12:29:51 -0400 Subject: Explicitly pass the eventloop thread to avoid 1.9 specific resource starvation --- lib/net/ssh/gateway.rb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1