Ver código fonte

Merge branch 'dev'

Feng Lee 11 anos atrás
pai
commit
b392c040c1
2 arquivos alterados com 9 adições e 1 exclusões
  1. 8 0
      .travis.yml
  2. 1 1
      apps/emqtt/src/emqtt_sm.erl

+ 8 - 0
.travis.yml

@@ -0,0 +1,8 @@
+language: erlang
+
+otp_release:
+   - 17.0
+
+script: 
+  - make
+

+ 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) ->