about summary refs log tree commit homepage
path: root/lib/rainbows/epoll.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-04 22:38:31 +0000
committerEric Wong <normalperson@yhbt.net>2011-02-04 22:38:31 +0000
commitba9a22b6926db058199d44a626b923376c8a850f (patch)
tree9f4bafcd92c7f597e2fe188ceb83bf339471be8d /lib/rainbows/epoll.rb
parentda93ad1c07ff9deb4d3a2e765b26f87ccf68aa23 (diff)
downloadrainbows-ba9a22b6926db058199d44a626b923376c8a850f.tar.gz
We can't work around it effectively in the C extension
itself.  This requires the latest sleepy_penguin gem.
Diffstat (limited to 'lib/rainbows/epoll.rb')
-rw-r--r--lib/rainbows/epoll.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/rainbows/epoll.rb b/lib/rainbows/epoll.rb
index 54d08fb..c8c013e 100644
--- a/lib/rainbows/epoll.rb
+++ b/lib/rainbows/epoll.rb
@@ -12,15 +12,9 @@ module Rainbows::Epoll
   autoload :ResponsePipe, 'rainbows/epoll/response_pipe'
   autoload :ResponseChunkPipe, 'rainbows/epoll/response_chunk_pipe'
 
-  def self.quit!
-    Rainbows.quit!
-    EP.close unless EP.closed?
-  end
-
   def init_worker_process(worker)
     super
     Rainbows::Epoll.const_set :EP, SleepyPenguin::Epoll.new
-    trap(:QUIT) { Rainbows::Epoll.quit! }
     Rainbows::Client.__send__ :include, Client
   end