diff options
author | Determinant <[email protected]> | 2018-11-16 23:23:01 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2018-11-16 23:23:01 -0500 |
commit | e12e559e85b0c2615fb550cc11560350517efca6 (patch) | |
tree | 7ce9f5952d918213e3883032a7bc851e1f32aeb7 /src | |
parent | 20669e2b5e956babf888bca577e39a71d83bae79 (diff) |
finish stress test coding
Diffstat (limited to 'src')
-rw-r--r-- | src/conn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn.cpp b/src/conn.cpp index c29dee9..413a582 100644 --- a/src/conn.cpp +++ b/src/conn.cpp @@ -301,7 +301,7 @@ void ConnPool::remove_conn(int fd) { /* inform the upper layer the connection will be destroyed */ conn->on_teardown(); update_conn(conn, false); - conn->self_ref = nullptr; /* remove the self-cycle */ + conn->release_self(); /* remove the self-cycle */ ::close(conn->fd); conn->fd = -1; } |