aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch_server.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ranch_server.erl')
-rw-r--r--src/ranch_server.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch_server.erl b/src/ranch_server.erl
index 55ebafb..3bb6163 100644
--- a/src/ranch_server.erl
+++ b/src/ranch_server.erl
@@ -141,7 +141,7 @@ handle_cast(_Request, State) ->
handle_info({'DOWN', MonitorRef, process, Pid, _},
State=#state{monitors=Monitors}) ->
{_, Ref} = lists:keyfind({MonitorRef, Pid}, 1, Monitors),
- true = ets:delete(?TAB, {conns_sup, Ref}),
+ _ = ets:delete(?TAB, {conns_sup, Ref}),
Monitors2 = lists:keydelete({MonitorRef, Pid}, 1, Monitors),
{noreply, State#state{monitors=Monitors2}};
handle_info(_Info, State) ->