about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-08-17 05:30:49 +0000
committerEric Wong <normalperson@yhbt.net>2010-08-17 05:30:49 +0000
commit9c5669e232f8f57c2d8e08d84e21bf09cd87bfa1 (patch)
treecea3aa954074a49758e23f8d92f681359d9b4749
parent2f0ac01589cdc9775f7a5668c4ac491712a9f1b1 (diff)
downloadrainbows-9c5669e232f8f57c2d8e08d84e21bf09cd87bfa1.tar.gz
Our keep-alive timeout mechanism does not need to kick in and
redundantly close when a client.  Fortunately there is no danger
of redundantly closing the same numeric file descriptors (and
perhaps causing difficult-to-track-down errors).
-rw-r--r--lib/rainbows/rev/client.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/rev/client.rb b/lib/rainbows/rev/client.rb
index 64784eb..58cd285 100644
--- a/lib/rainbows/rev/client.rb
+++ b/lib/rainbows/rev/client.rb
@@ -170,6 +170,7 @@ module Rainbows
       def on_close
         close_deferred
         CONN.delete(self)
+        KATO.delete(self)
       end
 
     end # module Client