Hack to avoid leak checker
This commit is contained in:
parent
e77e233935
commit
983f2688db
|
@ -182,7 +182,8 @@ class LeakChecker
|
||||||
|
|
||||||
def find_threads
|
def find_threads
|
||||||
Thread.list.find_all {|t|
|
Thread.list.find_all {|t|
|
||||||
t != Thread.current && t.alive?
|
t != Thread.current && t.alive? &&
|
||||||
|
!(t.thread_variable?(:"\0__detached_thread__") && t.thread_variable_get(:"\0__detached_thread__"))
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue