summaryrefslogtreecommitdiff
path: root/lib/timeout.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/timeout.rb')
-rw-r--r--lib/timeout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timeout.rb b/lib/timeout.rb
index 19ccb96d3e..893b5f8f58 100644
--- a/lib/timeout.rb
+++ b/lib/timeout.rb
@@ -63,7 +63,7 @@ module Timeout
raise Error, e.message, e.backtrace
ensure
if y and y.alive?
- y.kill
+ y.kill
y.join # make sure y is dead.
end
end