Fixed the HTTP_SERVER.shutdown_server

This commit is contained in:
Jocelyn Fiat
2011-06-01 19:13:09 +02:00
parent 63cd0610ec
commit c7440a2ca0
2 changed files with 1 additions and 13 deletions

View File

@@ -60,6 +60,7 @@ feature -- Inherited Features
end
end
end
is_stop_requested := main_server.stop_requested
end
l_http_socket.cleanup
check

View File

@@ -49,17 +49,4 @@ feature -- Access
stop_requested: BOOLEAN
-- Stops the server
feature {NONE} -- implementation
run
-- Start the server
local
e: EXECUTION_ENVIRONMENT
do
create e
from until stop_requested loop
e.sleep (1_000_000)
end
end
end