| 85 | } |
| 86 | |
| 87 | IORoutine::~IORoutine() { |
| 88 | ReleaseFD(client_fd_); |
| 89 | ReleaseFD(sqlsvr_fd_); |
| 90 | delete io_router_; |
| 91 | delete io_channel_; |
| 92 | delete proxy_protocol_handler_; |
| 93 | } |
| 94 | |
| 95 | void IORoutine::ReleaseFD(int & fd) { |
| 96 | if (fd != -1) { |
nothing calls this directly
no outgoing calls
no test coverage detected