{noreply, State}

This commit is contained in:
Feng Lee 2016-08-10 12:26:51 +08:00
parent bba8066639
commit bf8730d12d
1 changed files with 2 additions and 2 deletions

View File

@ -112,11 +112,11 @@ handle_call(Req, _From, State) ->
handle_cast({subscribe, Topic, Subscriber}, State) ->
add_subscriber_(Topic, Subscriber),
{reply, ok, State};
{noreply, State};
handle_cast({unsubscribe, Topic, Subscriber}, State) ->
del_subscriber_(Topic, Subscriber),
{reply, ok, State};
{noreply, State};
handle_cast(Msg, State) ->
?UNEXPECTED_MSG(Msg, State).