lib/indocker/launchers/configuration_deployer.rb in indocker-0.1.18 vs lib/indocker/launchers/configuration_deployer.rb in indocker-0.3.0
- old
+ new
@@ -102,10 +102,14 @@
)
end
Thread
.list
- .each { |t| t.join if t != Thread.current }
+ .each { |t|
+ if t != Thread.current
+ t.join if !t.stop?
+ end
+ }
ensure
build_server_pool.close_sessions if build_server_pool
deployer.close_sessions if deployer
end