diff options
Diffstat (limited to 'src/ranch.erl')
-rw-r--r-- | src/ranch.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch.erl b/src/ranch.erl index 9eb9a47..a219784 100644 --- a/src/ranch.erl +++ b/src/ranch.erl @@ -124,7 +124,7 @@ accept_ack(Ref) -> -spec remove_connection(ref()) -> ok. remove_connection(Ref) -> ConnsSup = ranch_server:get_connections_sup(Ref), - ConnsSup ! {remove_connection, Ref}, + ConnsSup ! {remove_connection, Ref, self()}, ok. -spec get_addr(ref()) -> {inet:ip_address(), inet:port_number()}. |