| 10 | { |
| 11 | |
| 12 | ClientPluginContext::ClientPluginContext(const std::string& plugin_name) { |
| 13 | work_thread_ = Thread::Make(plugin_name, 1024 * 1024 * 10); |
| 14 | work_thread_->Poll(); |
| 15 | |
| 16 | timer_ = std::make_shared<asio2::timer>(); |
| 17 | } |
| 18 | |
| 19 | void ClientPluginContext::OnDestroy() { |
| 20 | if (work_thread_) { |
nothing calls this directly
no outgoing calls
no test coverage detected