stop the http service when the reverse http handler stops

bug/bundler_fix
Brent Cook 2015-02-17 12:31:50 -06:00
parent 6eaa3c264c
commit a8f44ca68f
1 changed files with 2 additions and 2 deletions

View File

@ -172,11 +172,11 @@ module ReverseHttp
end
#
# Removes the / handler, possibly stopping the service if no sessions are
# active on sub-urls.
# Removes the / handler and stop the service.
#
def stop_handler
self.service.remove_resource("/") if self.service
self.service.stop
end
attr_accessor :service # :nodoc: