about summary refs log tree commit homepage
path: root/lib/rainbows/xepoll_thread_pool/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/xepoll_thread_pool/client.rb')
-rw-r--r--lib/rainbows/xepoll_thread_pool/client.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rainbows/xepoll_thread_pool/client.rb b/lib/rainbows/xepoll_thread_pool/client.rb
index ca62727..810d992 100644
--- a/lib/rainbows/xepoll_thread_pool/client.rb
+++ b/lib/rainbows/xepoll_thread_pool/client.rb
@@ -95,8 +95,8 @@ module Rainbows::XEpollThreadPool::Client
 
   def handle_error(e)
     super
-    ensure
-      closed? or close
+  ensure
+    closed? or close
   end
 
   def queue!
@@ -114,8 +114,8 @@ module Rainbows::XEpollThreadPool::Client
     else
       return close
     end while true
-    rescue => e
-      handle_error(e)
+  rescue => e
+    handle_error(e)
   end
 
   def run