weim0000 commented on PR #2685: URL: https://github.com/apache/kvrocks/pull/2685#issuecomment-2510991535
> Ahh sorry, I've checked the `Connection::Close()` and it will call `Worker::FreeConnection()` to `delete` itself. > > So I think it should not be a problem here. cc @git-hulk > > And thus `delete` after `Close()` will cause a double-free. oh, yes, you are right; It is no problem, I'm sorry, I will close the pr -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
