lib/u3d/unity_runner.rb in u3d-0.9.4 vs lib/u3d/unity_runner.rb in u3d-1.0.0.rc1
- old
+ new
@@ -43,10 +43,11 @@
e.backtrace.each { |l| UI.error " #{l}" }
end
end
# Wait for tail_thread setup to be complete
- sleep 0.5 while tail_thread.status != 'sleep'
+ sleep 0.5 while tail_thread.status == 'run'
+ return unless tail_thread.status
tail_thread.run
begin
args.unshift(installation.exe_path)
if Helper.windows?