aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_pastebin/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rest_pastebin/src')
-rw-r--r--examples/rest_pastebin/src/rest_pastebin_app.erl2
1 files changed, 1 insertions, 1 deletions
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).