aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ranch_conns_sup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch_conns_sup.erl b/src/ranch_conns_sup.erl
index fe2237a..d19405b 100644
--- a/src/ranch_conns_sup.erl
+++ b/src/ranch_conns_sup.erl
@@ -145,7 +145,7 @@ loop(State=#state{parent=Parent, ref=Ref, conn_type=ConnType,
case put(Pid, removed) of
active ->
loop(State, CurConns - 1, NbChildren, Sleepers);
- remove ->
+ removed ->
loop(State, CurConns, NbChildren, Sleepers);
undefined ->
_ = erase(Pid),