Feng Lee %!s(int64=11) %!d(string=hai) anos
pai
achega
601f21182d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/emqtt/src/emqtt_sm.erl

+ 1 - 1
apps/emqtt/src/emqtt_sm.erl

@@ -147,7 +147,7 @@ handle_cast(_Msg, State) ->
     {noreply, State}.
 
 handle_info({'DOWN', MRef, process, DownPid, _Reason}, State) ->
-	ets:match_delete(emqtt_client, {{'_', DownPid, MRef}}),
+	ets:match_delete(?TABLE, {{'_', DownPid, MRef}}),
     {noreply, State};
 
 handle_info(_Info, State) ->