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

Method ~WorkerThread

phxsqlproxy/worker_thread.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29WorkerThread::~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}
37static int TickFunc(void* arg) {
38// phoenix::LogErr("%s:%d Tick", __func__, __LINE__);
39 return 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected