Skip to content
Browse files

Improve compatibility to ruby 1.9.2.

Don't use Thread#terminate! to kill the reader thread anymore - that
seems to have gone away. Use #terminate.
  • Loading branch information...
1 parent 29c5008 commit ed55ba15d3d88d8d5149da19747812f295f2898d @antifuchs antifuchs committed Oct 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/clucumber.rb
View
2 lib/clucumber.rb
@@ -81,7 +81,7 @@ def record_output
def kill
if @pid
- @reader.terminate!
+ @reader.terminate
Process.kill("TERM", @pid)
Process.waitpid(@pid)
@pid = nil

0 comments on commit ed55ba1

Please sign in to comment.
Something went wrong with that request. Please try again.