change return tuple of close_session

This commit is contained in:
Gilbert Wong 2018-08-27 18:19:28 +08:00
parent 224aaaf8a7
commit 015901050f
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ handle_call(stats, _From, State) ->
reply(stats(State), State);
handle_call(close, _From, State) ->
{stop, normal, State};
{stop, normal, ok, State};
handle_call(Req, _From, State) ->
emqx_logger:error("[Session] unexpected call: ~p", [Req]),