stop the http service when the reverse http handler stops
parent
6eaa3c264c
commit
a8f44ca68f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue