MCPcopy Create free account
hub / github.com/Tencent/phxsql / ~IORoutine

Method ~IORoutine

phxsqlproxy/io_routine.cpp:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87IORoutine::~IORoutine() {
88 ReleaseFD(client_fd_);
89 ReleaseFD(sqlsvr_fd_);
90 delete io_router_;
91 delete io_channel_;
92 delete proxy_protocol_handler_;
93}
94
95void IORoutine::ReleaseFD(int & fd) {
96 if (fd != -1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected