Sha256: 9e4fbc9db65f2a029d93d2985b1594b299ebfe80211839ac76ebba5618f95a0e

Contents?: true

Size: 155 Bytes

Versions: 2

Compression:

Stored size: 155 Bytes

Contents

require "./lib/kommando"

100.times do
  k = Kommando.run "uptime"
  print "."
end
sleep 0.25

raise "Thread leak" unless Thread.list.count == 1
puts "ok"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kommando-0.0.19 examples/thread_leak.rb
kommando-0.0.18 examples/thread_leak.rb