format
This commit is contained in:
parent
9a05181844
commit
81494e0aa0
|
@ -306,10 +306,9 @@ handle_cast({resume, ClientId, ClientPid}, State = #session_state{
|
|||
ClientPid ! {dispatch, {self(), Msg}}
|
||||
end, emqtt_queue:all(Queue)),
|
||||
|
||||
NewState = State#session_state{client_pid = ClientPid,
|
||||
{noreply, State#session_state{client_pid = ClientPid,
|
||||
msg_queue = emqtt_queue:clear(Queue),
|
||||
expire_timer = undefined},
|
||||
{noreply, NewState, hibernate};
|
||||
expire_timer = undefined}, hibernate};
|
||||
|
||||
handle_cast({publish, ?QOS_2, Message}, State) ->
|
||||
NewState = publish(State, {?QOS_2, Message}),
|
||||
|
|
Loading…
Reference in New Issue