| 27 | } |
| 28 | |
| 29 | WorkerThread::~WorkerThread() { |
| 30 | delete connection_dispatcher_, connection_dispatcher_ = NULL; |
| 31 | delete io_routine_mgr_, io_routine_mgr_ = NULL; |
| 32 | delete monitor_routine_, monitor_routine_ = NULL; |
| 33 | for (size_t i = 0; i < io_routines_.size(); ++i) { |
| 34 | delete io_routines_[i], io_routines_[i] = NULL; |
| 35 | } |
| 36 | } |
| 37 | static int TickFunc(void* arg) { |
| 38 | // phoenix::LogErr("%s:%d Tick", __func__, __LINE__); |
| 39 | return 0; |
nothing calls this directly
no outgoing calls
no test coverage detected