diff options
author | Loïc Hoguin <[email protected]> | 2019-10-03 10:09:35 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-03 10:09:35 +0200 |
commit | 99df823cc32fed641c15722e22e8d6a5969a77c6 (patch) | |
tree | ac7736e15986c1eb202a6d4c93ea44912eea184e /examples/upload | |
parent | e4a535cfa6e27ac09c3f90b735748ad31cd78039 (diff) | |
download | cowboy-99df823cc32fed641c15722e22e8d6a5969a77c6.tar.gz cowboy-99df823cc32fed641c15722e22e8d6a5969a77c6.tar.bz2 cowboy-99df823cc32fed641c15722e22e8d6a5969a77c6.zip |
Document stopping the listener in App:stop/1
Diffstat (limited to 'examples/upload')
-rw-r--r-- | examples/upload/src/upload_app.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/upload/src/upload_app.erl b/examples/upload/src/upload_app.erl index 2ed5804..6fb829f 100644 --- a/examples/upload/src/upload_app.erl +++ b/examples/upload/src/upload_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> upload_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). |