Skip to content

Commit

Permalink
[webui] fix the kill for the test api
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Mar 23, 2012
1 parent a45d01e commit d0b5138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webui/script/start_test_api
Expand Up @@ -49,7 +49,7 @@ while true
# OK
else
puts "API did not response nicely"
Process.kill "INT", -frontend_out.pid
Process.kill "INT", frontend_out.pid
frontend_out.close
frontend_out = nil
frontend.join
Expand All @@ -76,7 +76,7 @@ while !dienow do
end

puts "kill #{frontend_out.pid}"
Process.kill "INT", -frontend_out.pid
Process.kill "INT", frontend_out.pid

frontend_out.close
frontend_out = nil
Expand Down

0 comments on commit d0b5138

Please sign in to comment.