Fix Thread leak in Thread#join specs
This commit is contained in:
parent
10d795cfca
commit
c19bcf38eb
@ -26,6 +26,7 @@ describe "Thread#join" do
|
||||
-> { t.join(:foo) }.should raise_error TypeError
|
||||
-> { t.join("bar") }.should raise_error TypeError
|
||||
t.kill
|
||||
t.join
|
||||
end
|
||||
|
||||
it "returns nil if it is not finished when given a timeout" do
|
||||
|
Loading…
x
Reference in New Issue
Block a user