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/rest_pastebin/src/rest_pastebin_app.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/rest_pastebin/src/rest_pastebin_app.erl') diff --git a/examples/rest_pastebin/src/rest_pastebin_app.erl b/examples/rest_pastebin/src/rest_pastebin_app.erl index 0fbfd64..a5e7ebc 100644 --- a/examples/rest_pastebin/src/rest_pastebin_app.erl +++ b/examples/rest_pastebin/src/rest_pastebin_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> rest_pastebin_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). -- cgit v1.2.3