lib/veewee/provider/core/helper/web.rb in veewee-0.5.0.alpha3 vs lib/veewee/provider/core/helper/web.rb in veewee-0.5.0.alpha4
- old
+ new
@@ -20,10 +20,10 @@
def allow_for_http_request(filename, urlname, options) # start in new thread
thread = Thread.new do
server_for_http_request(filename, urlname, options)
end
thread.abort_on_exception = true
- trap("INT") { thread.kill }
+ trap("INT") { thread.kill; exit }
thread
end
private