about summary refs log tree commit homepage
path: root/lib/rainbows/xepoll_thread_spawn
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/xepoll_thread_spawn')
-rw-r--r--lib/rainbows/xepoll_thread_spawn/client.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rainbows/xepoll_thread_spawn/client.rb b/lib/rainbows/xepoll_thread_spawn/client.rb
index 218db3e..8eebbb0 100644
--- a/lib/rainbows/xepoll_thread_spawn/client.rb
+++ b/lib/rainbows/xepoll_thread_spawn/client.rb
@@ -84,8 +84,8 @@ module Rainbows::XEpollThreadSpawn::Client
 
   def handle_error(e)
     super
-    ensure
-      closed? or close
+  ensure
+    closed? or close
   end
 
   def epoll_run(buf)
@@ -98,8 +98,8 @@ module Rainbows::XEpollThreadSpawn::Client
     else
       return close
     end while true
-    rescue => e
-      handle_error(e)
+  rescue => e
+    handle_error(e)
   end
 
   def spawn(env, hp)