From 99df823cc32fed641c15722e22e8d6a5969a77c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 3 Oct 2019 10:09:35 +0200 Subject: Document stopping the listener in App:stop/1 --- examples/chunked_hello_world/src/chunked_hello_world_app.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/chunked_hello_world/src/chunked_hello_world_app.erl') diff --git a/examples/chunked_hello_world/src/chunked_hello_world_app.erl b/examples/chunked_hello_world/src/chunked_hello_world_app.erl index 9c6eb1d..70d63f5 100644 --- a/examples/chunked_hello_world/src/chunked_hello_world_app.erl +++ b/examples/chunked_hello_world/src/chunked_hello_world_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> chunked_hello_world_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). -- cgit v1.2.3