In case you spam a lot of threads and dont know how to get rid of them…
Thread.list.each do |thread| thread.exit unless thread == Thread.current end
In case you spam a lot of threads and dont know how to get rid of them…
Thread.list.each do |thread| thread.exit unless thread == Thread.current end